Re: Bug with -o posix, local variables and assignment preceding builtins

2010-02-10 Thread Crestez Dan Leonard
On Mon, 2010-02-08 at 17:38 -0500, Chet Ramey wrote: > On 2/7/10 8:33 PM, Crestez Dan Leonard wrote: > > We encountered a strange bug while working on bash-completion. I was > > originally only able to reproduce this through a fairly elaborate setup > > but Freddy Vulto found a tiny test case: > >

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

2010-02-10 Thread Marc Herbert
> * 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 n