Rev 2 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 13 | ||
---|---|---|---|
Line 19... | Line 19... | ||
19 | <tr> |
19 | <tr> |
20 | <td valign="top" width="100%"> |
20 | <td valign="top" width="100%"> |
21 | 21 | ||
22 | <p> |
22 | <p> |
23 | A regular expression is a character sequence that is an abbreviated |
23 | A regular expression is a character sequence that is an abbreviated |
24 | definition of a set of strings. A string is said to match a regular |
24 | definition of a set of strings. A string matches a regular |
25 | expression if it is a member of the set described by the regular expression. |
25 | expression if it is a member of the set described by the regular expression. |
26 | </p> |
26 | </p> |
27 | <p> |
27 | <p> |
28 | A regular expression is allowed to match anywhere within a string, |
28 | A regular expression is allowed to match anywhere within a string, |
29 | unless the regular expression is explicitly anchored to the beginning |
29 | unless the regular expression is explicitly anchored to the beginning (operator <code>^</code>) |
30 | or end of the string (by using operators <code>^</code> and/or <code>$</code>). |
30 | or end (operator <code>$</code>) of the string. |
31 | </p> |
31 | </p> |
32 | 32 | ||
33 | </td> |
33 | </td> |
34 | 34 | ||
35 | 35 |