TheDocumentation Index
Fetch the complete documentation index at: https://vulhunt-docs.binarly.io/llms.txt
Use this file to discover all available pages before exploring further.
RegexMatcher object is used to define and match regular expressions against text strings, typically for identifying patterns in decompiled code or function names.
Functions
| Function | Description | Parameters | Return Type |
|---|---|---|---|
new | Constructs a new regex matcher from a regular expression pattern string | string | RegexMatcher |
Methods
| Method | Description | Parameters | Return Type |
|---|---|---|---|
is_match | Returns true if the regex matches the given text. Optional second parameter specifies start position | string, number | boolean |
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.