Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: libzglob?



Zoltan Hidvegi wrote:
>The scanner in zsh glob can be used for perl, however the pattern
>matching part has some problems.  One for example is that (ab#)# does not
>match ab.

Why?

>           For perl, a zsh glob -> regexp translator would be much more
>roboust and relyable.

But then in order to do actual file globbing, a second regexp execution
engine would be required.  This is not necessarily a bad approach --
it has the potential to allow globbing based on full Perl regexps --
but it might be better to stick with zsh's special purpose code.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author