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 ~(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