Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter FiveGeneral Functions (continued)

IsRegexMatch Function

Overview

The IsRegexMatch function performs a regular expression (regex) pattern match on a string.

Syntax/Parameters

Syntax

boolean = IsRegexMatch ( string source, string pattern, [boolean case] );

Parameters

source

A string to test against the regular expression.

pattern

A string specifying the regular expression pattern.

case

A boolean flag indicating whether to perform the search in a case-sensitive manner. The default is a TRUE indicating a case-sensitive search.

Return Value

Returns TRUE if value matches the pattern characters or FALSE if it does not.

Remarks

IsRegexMatch returns TRUE if the value matches the regular expression pattern.

For information about the language elements used to build a regular expression pattern, see Regular Expression Language - Quick Reference in MSDN.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic