Game Development Reference
In-Depth Information
\d (digit): Match any single digit.
\D (non-digit): Match any non-digit character.
\s (space): Match a white space.
\S (non-space): Match any character that's not a space character.
\b (word boundary): Find a match at the beginning or end of a word.
\B (non-word boundary): Find a match that is not a word boundary.
\0 (null character): Matches the NULL character in a string.
\n (new line character): Matches the new line character.
\f (form feed character): Matches the form feed character.
\r (return carriage character): Matches the form carriage character.
\t (tab character): Matches the tab character.
\v (vertical tab): Matches a vertical tab character.
+ (plus quantifier): Matches the previous expression or character one or more
times.
* (star quantifier): Matches the previous expression or character zero or more
times.
? (question mark quantifier): Matches the previous expression or character zero
or one time.
{3,5} (bracket quantifier): Matches the previous expression a minimum and
maximum of times respectively. If the maximum digit is missing, the matches will
continue until a non-match is found. For example: \d{1,} matches one or more
digits.
Search WWH ::




Custom Search