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

Re: Regular expressions in zsh



Phil Pennock wrote in news:20110219054807.GA57597@xxxxxxxxxxxxxxxxxxxx:


> 
> zsh has had -pcre-match for a very long time; it's only the =~ operator
> which is newish; note that if you're a Perl fan, then you might:
> 
>     setopt REMATCH_PCRE
> 
> to use PCRE regexps instead of the system regexp library's extended
> regexp syntax.
> 
> You're welcome. :)  [though I can't claim credit for the original
> -pcre-match].
> 
Hi
Have you any illustrative examples of using REMATCH_PCRE?


-- 
zzapper
http://zzapper.co.uk/ Technical Tips



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