Regular expression examples: Difference between revisions

Content deleted Content added
Examples: I liked the "same as" example. Added "same as" examples to others.
Line 166:
<tr>
<td>\w</td>
<td>Matches an alphanumeric character, including "_".; same as [A-Za-z0-9_]</td>
<td align="left">
<pre>
Line 179:
<tr>
<td>\W</td>
<td>Matches a non-alphanumeric character, excluding "_".; same as [^A-Za-z0-9_]</td>
<td align="left">
<pre>
Line 218:
<tr>
<td>\d</td>
<td>Matches a digit,; same as [0-9].</td>
<td align="left">
<pre>
Line 233:
<tr>
<td>\D</td>
<td>Matches a non-digit; same as [^0-9].</td>
<td align="left">
<pre>