VBRegExp_SetPattern

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > VBRegExp >

VBRegExp_SetPattern

 

Description

 

Set regular expression pattern string.

 

Syntax

 

n = VBRegExp_SetPattern(pReg, sPattern)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

pReg

Numeric

No

Regular expression handle created with VBRegExp_New function

sPattern

String

No

Regular string expression being searched for.

May include any of the regular expression characters defined in the table in Regular expression pattern legend.

 

Remarks

 

Restrictions

 

See also

 

Examples