Regular expression options - Factor Documentation (original) (raw)

When Constructing regular expressions, various options can be provided. Options have single-character names. A string of options has one of the following two forms:

on on-off

The latter syntax allows some options to be disabled. The on and off strings name options to be enabled and disabled, respectively.

The following options are supported:

i case-insensitive
d unix-lines
m multiline
s dotall
r reversed-regexp