JavaScript: The Definitive Guide

24.155. RegExp.global: whether a regular expression matches globally

ECMAScript v3

24.155.1. Synopsis

regexp.global

24.155.2. Description

global is a read-only boolean property of RegExp objects. It specifies whether a particular regular expression performs global matchingi.e., whether it was created with the "g" attribute.

Категории