You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: regex.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -100,8 +100,8 @@ <h1>Syntax</h1>
100
100
<tr><td>Match a "word" character (alphanumeric plus <code>_</code>)</td><td><code>\w</code><code>[[:word:]]</code></td><td><code>\w</code></td><td><code>\w</code></td><td><code>\w</code></td><td><code>\w</code></td></tr>
<tr><td>Match a non-"word" character</td><td><code>\W</code></td><td><code>\W</code></td><tdclass="na"></td><tdclass="na"></td><td><code>\W</code></td></tr>
103
-
<tr><td>Match a whitespace character (except newline)</td><tdclass="na"></td><tdclass="na"></td><td></td><td></td><td><code>\s</code><code>[[:space:]]</code></td></tr>
104
-
<tr><td>Whitespace including newline</td><td><code>\s</code><code>[[:space:]]</code></td><td><code>\s</code></td><td><code>[[:space:]]</code></td><td><code>[[:space:]]</code></td><td><code>\_s</code></td></tr>
103
+
<tr><td>Match a whitespace character (except newline)</td><tdclass="na"></td><tdclass="na"></td><td><code>\s</code><code>[[:space:]]</code></td><td><code>\s</code><code>[[:space:]]</code></td><td><code>\s</code><code>[[:space:]]</code></td></tr>
104
+
<tr><td>Whitespace including newline</td><td><code>\s</code><code>[[:space:]]</code></td><td><code>\s</code></td><tdclass="na"></td><tdclass="na"></td><td><code>\_s</code></td></tr>
105
105
<tr><td>Match a non-whitespace character</td><td><code>\S</code></td><td><code>\S</code></td><td><code>[^[:space:]]</code></td><td><code>[^[:space:]]</code></td><td><code>\S</code><code>[^[:space:]]</code></td></tr>
106
106
<tr><td>Match a digit character</td><td><code>\d</code><code>[[:digit:]]</code></td><td><code>\d</code></td><td><code>[[:digit:]]</code></td><td><code>[[:digit:]]</code></td><td><code>\d</code><code>[[:digit:]]</code></td></tr>
107
107
<tr><td>Match a non-digit character</td><td><code>\D</code></td><td><code>\D</code></td><td><code>[^[:digit:]]</code></td><td><code>[^[:digit:]]</code></td><td><code>\D</code><code>[^[:digit:]]</code></td></tr>
0 commit comments