|Did you know ...||Search Documentation:|
?- re_match("^needle"/i, "Needle in a haystack"). true.
true, match only at the first position
anycrlf, \R only matches CR, LF or CRLF. If
unicode, \R matches all Unicode line endings. Subject string is the end of a line (default
any, recognize any Unicode newline sequence, if
anycrlf, recognize CR, LF, and CRLF as newline sequences, if
cr, recognize CR, if
lf, recognize LF and finally if
crlfrecognize CRLF as newline.
|Regex||- is the output of re_compile/3, a pattern or a term
Pattern/Flags, where Pattern is an atom or string. The defined flags
and there related option for re_compile/3 are below.