next up previous contents index
Next: 1.7.1 Matching Up: 1. Onyx Language Tutorial Previous: 1.6.1 Efficiency issues   Contents   Index

1.7 Regular expressions

Onyx provides regular expression support that is very similar to what the Perl programming language provides. There are two special data types, regex and regsub, that are specific to regular expressions, but there is no special language syntax devoted to regular expressions, unlike Perl. Instead, patterns and substitution templates are specified via normal strings, and flags are specified via dictionaries.

Regular expression syntax is similar to that of Perl. See Section 2.9 for more information.



Subsections

Jason Evans 2005-03-16