WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

A regular expression is a powerful string pattern matching language often associated with the Unix operating system.

Regular expressions are used within grammars to support arbitrarily complex expressions.

rewrite

Sometimes regular expressions are used to rewrite strings. In this case a rewrite expression is defined which contains $1, $2 $N tokens which are substituted with capturing groups from the string.