IRegexpCompiler¶
Parse and compile an I-Regexp pattern string.
Constructors¶
create¶
Returns¶
- IRegexpCompiler val^
Public Functions¶
parse¶
Parse pattern, returning compiled regexp or error.
Parameters¶
- pattern: String val
Returns¶
- (IRegexp val | IRegexpParseError val)
compile¶
Parse pattern, raising on invalid input.
Convenience wrapper around parse() for call sites that don't need the error details — discards the IRegexpParseError and raises instead.
Parameters¶
- pattern: String val
Returns¶
- IRegexp val ?
eq¶
Parameters¶
- that: IRegexpCompiler val
Returns¶
- Bool val
ne¶
Parameters¶
- that: IRegexpCompiler val
Returns¶
- Bool val