bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: + vs. [^/]* - Regular Expression bug?


From: Marc Herbert
Subject: Re: + vs. [^/]* - Regular Expression bug?
Date: Wed, 10 Feb 2010 09:34:26 +0000
User-agent: Thunderbird 2.0.0.23 (X11/20090825)

> * means zero or more characters. It found zero and stopped.

I do not think that using a '*' star alone ever makes sense since it is
always matches.

The star is useful when anchored to something else. Like for instance
in:   .*Khodabocus

'+' is a star anchored to something.


Anyway this has nothing to do with bash.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]