On Tue, Apr 24, 2012 at 11:50, Glenn Fowler <[email protected]> wrote:
>
>
> there was a post explaining this
> any ~(x:...) re-type switch to an 'x' form where ')' is not special will
> fail
> because the parser doesn't know where the pattern ends

I saw that post. So we have to document it if we don't plan to fix it.

>
> On Tue, 24 Apr 2012 11:41:15 +0800 Clark Wang wrote:
> > --f46d044472c10e381b04be648825
> > Content-Type: text/plain; charset=UTF-8
>
> > On Tue, Apr 24, 2012 at 05:54, Glenn Fowler <[email protected]>
> > wrote:
>
> > >
> > > ast 2012-04-23 git updates have been posted
> > > the update addresses many problems brought up on ast-users and
> > > ast-developers
> > > (thanks for the detailed reports)
> > >
> > > * a first round of ksh fixes (another update in a day or so)
> > > * nmake fixes so that cmd line option changes like --shared cause
> > > rebuilds
> > > * libast regex fixes to properly scope ksh ~(E)... vs ~(E:...)
> > >
>
> > Still has problems:
>
> > $ echo ${.sh.version}
> > Version JMP 93u+ 2012-04-22
> > $ [[ foo == ~(G:.*) ]] && echo yes || echo no
> > no
> > $ [[ foo == ~(G:foo) ]] && echo yes || echo no
> > no    <== ksh93u (2011-02-08) outputs yes here
> > $ [[ foo == ~(F:foo) ]] && echo yes || echo no
> > no
> > $
>

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to