enum RegexFlags
所在文件: /#e/RegexFlags.gs
枚举值
| 名称 | 值 | 说 明 |
|---|---|---|
| DEFAULT | 0 | Uses the standard formatting rules to replace matches those used by ECMAScript s replace method This constant has a value of zero |
| NOT_BOL | 1 | The first character is not considered a beginning of line does not match |
| NOT_EOL | 2 | The last character is not considered an end of line does not match |
| NOT_BOW | 4 | The escape sequence does not match as a beginning of word |
| NOT_EOW | 8 | The escape sequence does not match as an end of word |
| ANY | 16 | Any match is acceptable if more than one match is possible |
| NOT_NULL | 32 | Empty sequences do not match |
| CONTINUOUS | 64 | The expression must match a sub sequence that begins at the first character Sub sequences must begin at the first character to match |
| PREV_AVAIL | 256 | One or more characters exist before the first one match not bol and match not bow are ignored |
| FORMAT_DEFAULT | 0 | Uses the standard formatting rules to replace matches those used by ECMAScript s replace method This constant has a value of zero |
| FORMAT_SED | 1024 | Uses the same rules as the sed utility in POSIX to replace matches |
| FORMAT_NO_COPY | 2048 | The sections in the target sequence that do not match the regular expression are not copied when replacing matches |
| FORMAT_FIRST_ONLY | 4096 | Only the first occurrence of a regular expression is replaced |