[wellylug] Regex, replace stuff in command line help...

David Antliff david.antliff at gmail.com
Thu Jun 29 11:01:07 NZST 2006



On Thu, 29 Jun 2006, Grant McLean wrote:
> Using '.*' in a Perl regex is frequently an error.  I added the trailing
> '?' which causes it to find the first match rather than the longest.

While I left out any anchors because I don't know the full context, it 
is my understanding that .*? will successfully match nothing. Not very 
useful.

-- 
David.




More information about the wellylug mailing list