Navigation:  thinBasic Modules > VBRegExp >

VBRegExp_SetPattern

Previous pageReturn to chapter overviewNext page

 

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