Table of contents
- 1. Summary
- 2. Description
Summary
A read-only property that contains the text of the pattern, excluding the forward slashes.
| Property of RegExp instances | |
|
Static |
|
| Implemented in: | JavaScript 1.2, NES3.0
JavaScript 1.5: |
| ECMA Version: | ECMA-262, Edition 3 |
Description
source is a property of an individual regular expression object.
You cannot change this property directly.