| home / programming / javascript / professional / chap3 / 6 | [previous][next] |
|
Professional JavaScriptArray Properties
Pattern Properties
Static Regular Expression PropertiesAlways referred to as properties of the generic RegExp object
As you can see, exec() does a lot of behind the scenes work, especially if you're running Navigator. Limitations of exec() in Internet ExplorerThe JScript version of exec() is quite limited in comparison to that in JavaScript in two ways:
RegExp.index, RegExp.input : Equivalent to results.index and results.input as above. RegExp.lastIndex, reg.source: Equivalent to reg.lastIndex and reg.source as above RegExp.$1: Equivalent to RegExp.$1 as above. And so, with all that information behind us, we conclude our tour of regular expression support in JavaScript.
|
| home / programming / javascript / professional / chap3 / 6 | [previous][next] |
Created: February 21, 2001
Revised: February 26, 2001