On Tue, Apr 17, 2012 at 11:42, Clark J. Wang <[email protected]> wrote:

> See following example:
>
> $ echo ${.sh.version}
> Version jM 93u 2011-02-08
> $ [[ FOO == ~(E).* ]] && echo yes || echo no
> yes
> $ [[ FOO == ~(E:.*) ]] && echo yes || echo no
> no
> $
>

But this works:

$ [[ foo == ~(E:foo) ]] && echo yes || echo no
yes
$

>
> But ~(i)foo and ~(i:foo) are the same:
>
> $ [[ FOO == ~(i)foo ]] && echo yes || echo no
> yes
> $ [[ FOO == ~(i:foo) ]] && echo yes || echo no
> yes
> $
>
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to