>>>> Hrvoje Niksic writes:
Huh? My info files contain this:
`*?'
works just like `*', except that rather than matching the
longest match, it matches the shortest match. `*?' is known
as a "non-greedy" quantifier, a regexp construct borrowed from
Perl.
This construct very useful for when you want to match the text
inside a pair of delimiters. For instance, `/\*.*?\*/' will
match C comments in a string. This could not be achieved
without the use of greedy quantifier.
Shouldn't that last line be "without the use of a non-greedy quantifier".
John Jones
jj(a)asu.edu