Home > comp > gb.pcre > regexp > _new 
  [3.0]
 fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
NEW Regexp (gb.pcre)
Syntax
DIM hRegexp AS Regexp

hRegexp = NEW Regexp ( [ Subject AS String, Pattern AS String, CompileOptions AS Integer, ExecOptions AS Integer ] )

Creates a new Regexp object, and optionally compiles a regular expression and matches it against some subject text.

Examples

DIM re as Regexp

re = NEW Regexp("The quick brown fox slyly jumped over the lazy dog", "brown (\\S+)")