Constructs a new RegexFinder.
Directory or URL holding tree-sitter.wasm and the tree-sitter-<grammar>.wasm
files, such as the wasm directory of @vscode/tree-sitter-wasm.
Checks whether regexes can be found in a language.
A VS Code language ID.
Whether the language has a LanguageSpec.
Lists the regexes in source text, in order.
The source text.
The VS Code language ID of the source.
The regexes found; none for unsupported languages or for sources longer than
MAX_SCAN_LENGTH. Patterns built at run time, such as strings with interpolations, are
skipped.
Finds regexes in documents of the languages in
LANGUAGES.