DekGenius.com
Team LiB   Previous Section   Next Section
RegExp.source the text of the regular expression

Availability

JavaScript 1.2; JScript 3.0; ECMAScript v3

Synopsis

regexp.source

Description

source is a read-only string property of RegExp objects. It contains the text of the RegExp pattern. This text does not include the delimiting slashes used in regular expression literals, and it does not include the g, i, and m attributes.

    Team LiB   Previous Section   Next Section