|Did you know ...||Search Documentation:|
regex(see blob/2). Defined Options are defined below. Please consult the PCRE documentation for details.
anycrlf, \R only matches CR, LF or CRLF. If
unicode, \R matches all Unicode line endings.
true, do caseless matching.
true, $ not to match newline at end
true, . matches anything including NL
true, allow duplicate names for subpatterns
true, ignore white space and # comments
true, PCRE extra features (not much use currently)
true, force matching to be before newline
true, ^ and $ match newlines within data
any, recognize any Unicode newline sequence, if
anycrlf(default), recognize CR, LF, and CRLF as newline sequences, if
cr, recognize CR, if
lf, recognize LF and finally if
crlfrecognize CRLF as newline.
true, use Unicode properties for \d, \w, etc.
true, invert greediness of quantifiers
In addition to the options above that directly map to pcre flags the following options are processed:
true, study the regular expression.
Start-Length. Note the we use
Start-Length` rather than the more conventional
Start-Endto allow for immediate use with sub_atom/5 and sub_string/5.
capture_type specifies the default for this pattern. The
interface supports a different type for each named group using
T is one of
R (range). In the current implementation
T. Future versions may act different if the parsed
value is not of the requested numeric type.