regex.parse

function

Library: Regular expressions (OMREGEX)
Import : omregex.xmd

Returns: parsed regular expression


Declaration
export regexp function
   parse value string expression
    


Purpose

Use parse to parse and compile a regular expression string before you can try to match input against it.

If the regular expression is invalid and cannot be parsed, parse throws the parse-error exception. The syntax of valid regular expressions is specified by the W3C XML Schema Datatypes specification.

Other Library Functions