Expand/Shrink

regex_compile

Definition: include builtins\regex.e

sequence re = regexp_compile(string src)
Description: Compiles a regular expression (string) into an internal (bytecode) representation ready for execution.

This step can be omitted, however if you are going to use a regular expression millions of times it will obviously be faster to do it once at the start.

Displays a message or invokes the routine specified via regex_options and returns {} if the regular expression could not be successfully parsed.
pwa/p2js: Supported.
See Also: regex
Expand/Shrink