obscenity / parseRawPattern
parseRawPattern(
pattern):ParsedPattern
Defined in: src/pattern/Pattern.ts:130
Parses a string as a pattern directly.
Note
It is recommended to use the [[pattern | pattern template tag]] instead of this function for literal patterns (i.e. ones without dynamic content).
string
The string to parse.
The parsed pattern, which can then be used with the [[RegExpMatcher]].
[[ParserError]] if a syntactical error was detected while parsing the pattern.