Skip to content

Commit

Permalink
DOCS-16710: regex options update (#85)
Browse files Browse the repository at this point in the history
* DOCS-16710: regex options update

* fix

(cherry picked from commit c352c4e)
  • Loading branch information
rustagir committed Apr 5, 2024
1 parent 462f13c commit 328aaf5
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,15 @@ <h3>Non-terminals</h3>
<td class="fix nt"></td>
<td class="fix op">|</td>
<td class="fix ex">signed_byte(11) e_name cstring cstring</td>
<td>Regular expression - The first cstring is the regex pattern, the second is the regex options string.
Options are identified by characters, which must be stored in alphabetical order. Valid options are 'i' for
case insensitive matching, 'm' for multiline matching, 'x' for verbose mode, 'l' to make \w, \W, etc. locale
dependent, 's' for dotall mode ('.' matches everything), and 'u' to make \w, \W, etc. match unicode.</td>
<td>Regular expression - The first cstring is the regex
pattern, the second is the regex options string.
Options are identified by characters, which must be stored in
alphabetical order. Valid option characters are <code>i</code> for
case insensitive matching, <code>m</code> for multiline
matching, <code>s</code> for <i>dotall</i> mode ("." matches
everything), <code>x</code> for verbose mode, and
<code>u</code> to make "\w", "\W", etc. match Unicode.
</td>
</tr>
<tr>
<td class="fix nt"></td>
Expand Down

0 comments on commit 328aaf5

Please sign in to comment.