Xbasic

Extension::Regex Class

Description

Regular Expression class for searching and parsing strings.

Methods

GetError Method

Get last regular expression operation error. If the operation does not match or return results It may be because there was no match, or there may be an error in the regular expression, GetError() returns a blank string if the regular expression was valid, otherwise it returns the syntax error.

grep Method

Grep a regex expression.

match Method

MatchSplit a regex expression.

merge Method

Merge a regex expression.

split Method

Split a regex expression. Tagged patterns are searched for and split.

See Also