source

Table of contents

  1. 1. Summary
  2. 2. Description
Table of contents
  1. 1. Summary
  2. 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: source is a property of a RegExp instance, not the RegExp object.

ECMA Version: ECMA-262, Edition 3

Description

source is a property of an individual regular expression object.

You cannot change this property directly.

Tags (0)

Edit tags
  • No tags

Attachments (0)

 

Attach file