Table of Contents

Table of Contents

FlexScript Class - RegExp

RegExp

Description

Allows regular expressions to be used as function parameters.

This class is used to provide a regular expression as a function parameter. Regular expressions are special character sequences that identify patterns in text. FlexSim uses the ECMA syntax for regular expressions. Several string methods accept RegExp values as input, including string.match, string.split, and string.search. For more information on regular expression syntax, see ECMAScript syntax.