[Image of Linux]
The Personal Web Pages of Chris X. Edwards

Regular Expression Tutorial

--------------------------

Existent Quantifier

In regular expressions, the "+" character is (or can be) a metacharacter with very similar properties to the comprehensive quantifier "*". The essential difference is that while the "*" matches zero or more atoms, the existent quantifier matches one or more. This means that there is no possibility that the character being modified could be optional. It must exist at least once.

re-OohAah

Matches "OohAah", "OooooAah", "OohAaaaah", "OoooohAaaaah", etc, but not "OhAh".

--------------------------
Previous Home Next
This page was created with only free, open-source, publicly licensed software.
This page was designed to be viewed with any browser on any system.
Chris X. Edwards ~ December 2003