RegExp global
syntax: |
regexp.global |
description: |
A read-only property of an instance of a RegExp object. It is true if "g" is an attribute in the regular expression pattern being used.
Read-only property. Use RegExp compile() to change.
|
see: |
|
example: |
var pat = /^Begin/g; //or var pat = new RegExp("^Begin", "g"); |