Section 24.158. RegExp.source: the text of the regular expression


24.158. RegExp.source: the text of the regular expression

ECMAScript v3

24.158.1. Synopsis

regexp.source

24.158.2. 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.




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net