Share this Page URL
Help

Part VII: Appendixes > The reset Object [2|3|I] - Pg. 1084

JavaScript Language Reference 1084 · i--Specifies that during the Regular Expression search, case is ignored (that is, the search is not case sensitive). Properties · global [true,false]--Sets the g flag value in code, such as whether the search is global (true) or not (false). New in JavaScript 1.2 and later. · ignoreCase [true,false]--Sets the i flag value in code, such as whether the search is case sensitive (true) or not (false). New in JavaScript 1.2 and later. · lastIndex--(Integer value) Indicates the index position at which to start the next matching procedure (for example, lastIndex == 2). New in JavaScript 1.2 and later. · source--(Read-only) Contains the pattern's text. New in JavaScript 1.2 and later. Methods · compile--Compiles the Regular Expression. This method is usually invoked at script startup, when the Regular Expression is already known and will remain constant. New in JavaScript 1.2 and later. · exec(str)--Executes a search for a Regular Expression within the specified string (str). New in JavaScript 1.2 and later. Note: It uses the same properties as the RegExp object. · test(str)--Executes a search for a Regular Expression and a specified string (str). New in JavaScript 1.2 and later. Note: It uses the same properties as the RegExp object.