RegexMatcher object is used to define and match regular expressions against text strings, typically for identifying patterns in decompiled code or function names.
Functions
Methods
Reference
new
Constructs a new regex matcher from a regular expression string. The regex syntax follows Rust’s regex crate, which supports standard Perl-style regular expressions.is_match
Returnstrue if the regex matches the given text string, false otherwise.
Optionally takes a second parameter specifying the starting position to begin matching from. If not provided, matching starts from the beginning of the string.