7.22.1 $1...$9 Property

Specifies the nine most-recently memorized portions found during pattern matching. Read-only
Syntax
RegExp.$n
- n
- A number between 1 and 9.
Remarks
The value of the $1...$9 property is modified whenever a successful parenthesized match is made. Any number of parenthesized substrings may be specified in a regular expression pattern, but only the nine most recent can be stored.
Copyright © 2000 Chili!Soft
|