Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript RegExp Object

The RegExp object stores information on regular expression pattern searches.

Properties: JScript RegExp Object

JScript RegExp Object $1. . . $9 Property

The nine most-recently used memorized portions found during pattern matching.

JScript RegExp Object index Property

The location where the first successful match begins.

JScript RegExp Object input Property

The string against which a search was performed.

JScript RegExp Object lastIndex Property

Where the last successful match begins.

JScript RegExp Object lastMatch Property

The last matched characters.

JScript RegExp Object lastParen Property

The last parenthesized substring match, if any.

JScript RegExp Object leftContext Property

The input string up to the most recent match.

JScript RegExp Object multiline Property

Indicates whether searching continued across line breaks.

JScript RegExp Object rightContext Property

The input string past the most recent match.

Syntax: JScript RegExp Object

RegExp.propertyname

Arguments: JScript RegExp Object

propertyname

One of the RegExp object properties.

Remarks: JScript RegExp Object

The RegExp object cannot be created directly, but is always available for use. Its properties have undefined as their value until a successful regular expression search has been completed.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.