Method Regexp.PCRE._pcre()->create()
- Method create
Regexp.PCRE._pcre Regexp.PCRE._pcre(string pattern, void|int options, void|object table)
- Description
The option bits are:
OPTION.ANCHORED Force pattern anchoring
OPTION.CASELESS Do caseless matching
OPTION.DOLLAR_ENDONLY $ not to match newline at end
OPTION.DOTALL . matches anything including NL
OPTION.EXTENDED Ignore whitespace and # comments
OPTION.EXTRA PCRE extra features (not much use currently)
OPTION.MULTILINE ^ and $ match newlines within data
OPTION.NO_AUTO_CAPTURE Disable numbered capturing parentheses (named ones available)
OPTION.UNGREEDY Invert greediness of quantifiers
OPTION.UTF8 Run in UTF-8 mode