Type Object
Format new RegExp (pattern matching string, optional)
Commentary
Regex (regular expressions) object. String pattern matching should be of most use.
(Unconfirmed)
Option "g" in the global match, "i" if it ignored the match in the case, m determine whether to match the line unit.
Sample code - QC 2 JavaScript
str = "RegExp Sample Text. String Match Test.";
reObj = new RegExp ( "S +", "g");
result = str.match (reObj);
outputs [0] = "number of matches" + result.length + "is";
Sample code - QC 3 JavaScript
function (__string output) main (__number inputNumber[2])
{
var result = new Object();
str = "RegExp Sample Text. String Match Test.";
reObj = new RegExp("S+","g");
result = str.match(reObj);
result.output = " Number of matches "+result.length+" Is "; return result;
}