Reescape()

Returns a string that that has been escaped and safe to use in RegEx patterns. The characters we escape are $, {, }, (, ), [, ], ^, ., *, +, ?, &, and \.

Usage

STRING = Reescape( string )
Argument Summary
string string to escape

Calling

Supports named-parameter calling allowing you to use the function like:

Reescape(
   string=?
);

Supports passing parameters as a structure using ArgumentCollection:

Reescape( ArgumentCollection={
   string : ?
} );