Method Regexp.PCRE._pcre()->create()
- Method
create
Regexp.PCRE._pcre Regexp.PCRE._pcre(stringpattern,void|intoptions,void|objecttable)- Description
The option bits are:
OPTION.ANCHOREDForce pattern anchoring
OPTION.CASELESSDo caseless matching
OPTION.DOLLAR_ENDONLY$ not to match newline at end
OPTION.DOTALL. matches anything including NL
OPTION.EXTENDEDIgnore whitespace and # comments
OPTION.EXTRAPCRE extra features (not much use currently)
OPTION.MULTILINE^ and $ match newlines within data
OPTION.NO_AUTO_CAPTUREDisable numbered capturing parentheses (named ones available)
OPTION.UNGREEDYInvert greediness of quantifiers
OPTION.UTF8Run in UTF-8 mode