Basic HTML version of Foils prepared 3 March 99

Foil 68 Regular Expressions -- Special Characters

From Overview of JavaScript I -- Basic Web Scripting Language CPS616 Technologies of the Information Age -- Spring Semester 99. by Geoffrey C. Fox (Tom Scavo)


[\b] backspace
\b Word Boundary
\B NOT a Word Boundary
\cC Control Character C
\d Matches a digit
\f Form Feed
\D Matches a NON digit
\n New Line
\s White Space \f\n\r\t\v
\r Carriage Return
\S Not a White Space
\t tab
\v vertical tab
\w Any word Character
\W Not a word Character
\\ Backslash itself
\n (n integer) nth () selected as in $n
\ooctal Char with this octal rep
\xhex Char with this hex rep
. Anything



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed Mar 3 1999