Match options for RegExpReplace. Do not mix with other regex functions (such as RegExpMatch and RegExpIterate).
These can be bitflagged (add the values together) for multiple options.
Constants
| Constant
|
Value
|
Description
|
| REGEXP_MATCH_NOT_BOL
|
1
|
| The first character in [first,last) will be treated as if it is not at the beginning of a line (i.e. ^ will not match [first,first)
|
|
| REGEXP_MATCH_NOT_EOL
|
2
|
| The last character in [first,last) will be treated as if it is not at the end of a line (i.e. $ will not match [last,last)
|
|
| REGEXP_MATCH_NOT_BOW
|
4
|
| "\b" will not match [first,first)
|
|
| REGEXP_MATCH_NOT_EOW
|
8
|
| If more than one match is possible, then any match is an acceptable result
|
|
| REGEXP_MATCH_ANY
|
16
|
| If more than one match is possible, then any match is an acceptable result
|
|
| REGEXP_MATCH_NOT_NULL
|
32
|
| Do not match empty sequences
|
|
| REGEXP_MATCH_CONTINUOUS
|
64
|
| Only match a sub-sequence that begins at first
|
|
| REGEXP_MATCH_PREV_AVAIL
|
128
|
| --first is a valid iterator position. When set, causes match_not_bol and match_not_bow to be ignored
|
|
See Also
Version
This constants group was added in 87.8193.35-40 of NWN:EE.