Basic HTML version of Foils prepared 3 March 99

Foil 74 Static Properties of RegExp Object II

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


1 RegExp.multiline if true, search through newlines
2 RegExp.$` or RegExp.leftContext is part of searched string before matched part
3 RegExp.$& or RegExp.lastMatch is part of searched string that is matched to by regular expression
4 RegExp.$' or RegExp.rightContext is part of searched string after matched part
5 So String searched is RegExp.leftContext + RegExp.lastMatch + RegExp.rightContext
6 RegExp.lastParen The last parenthesized substring match, if any
7 RegExp.$1,$2 .. $9 are the first through ninth parenthesized expressions matched

in Table To:


© 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