You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wondering if in the Scanner class we could simply have a matches method that returns boolean depending on whether or not there are matches. It would be similar to scan, but not bother building the List of match expressions to return.
The text was updated successfully, but these errors were encountered:
Adding this method will cover 2 cases.
IMHO better way is to expose public void scan(Database db, String input, HyperscanLibrary.match_event_handler handler)
method which will handle all use cases by providing custom match handler.
Wondering if in the Scanner class we could simply have a matches method that returns boolean depending on whether or not there are matches. It would be similar to scan, but not bother building the List of match expressions to return.
The text was updated successfully, but these errors were encountered: