Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Regex not halt caputre second slash
- X-seq: zsh-workers 52052
- From: Eric Cook <llua@xxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Regex not halt caputre second slash
- Date: Mon, 14 Aug 2023 08:59:42 -0400
- Archived-at: <https://zsh.org/workers/52052>
- In-reply-to: <CAH0GyZAr=invyu8z3JBcZuM5YXVBx-PxccGt5485Bg0eZh0TDg@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH0GyZAr=invyu8z3JBcZuM5YXVBx-PxccGt5485Bg0eZh0TDg@mail.gmail.com>
- Ui-outboundreport: notjunk:1;M01:P0:U45mE0/g/ks=;lQ5lH1EkXGeBg6HV1twLB3KUF0i 3iDsa1nzHsLdIssVTh890jFmjEGSyvhHQu7zASKW0y18VqPiFdu/jEGjkBltlAvxh1ytrbp8c haZMtVp/7JbDcHs26z6gi6t3+Z8oRcOuPj4oXA2741OLZMS4x2+RTcOvt4ktMcfKu363GrK8Y cfKboFrI7DUGtKOtuC+RFkLhruyLqF9HxLOOZ5J4yfgld51SwxvXndnDfu0Lxk1+CFj+ZsrNK 3mNerx56e7dhAvvS9Zbroxbi9JiqFHEDGukgeiXbQ64ROjP34Qiqnt538KDvlbMlYUwStjytC PcNSVlTXTstOM1WfvZmLAu+CJo60T2FJrGHTHUKyJHHM9hRjBTSsdPqhj5GhzyGa8pWYCCGGp DGVrVPLHsbXfiEnd7VE2VL07hFYQMMHIW3GZ3ruwEwPVU/Uyb2s61rKFw7vhi/f7pU0dIlyGN GNiVB65y6tKB34EvHpePe29a2jOjHoILYAlD0DSOxHKKeM8wYDnQPoIkbwOvROE3JA0iyUHE/ EVclBKPx+qOA96EvhTMDpgo+GVHZm7fUdsHU9rIxbqiDBtLI3jN1hHLey+rz2C7M4q1ZHM0Gp /VroJzMOhmk7otmeO9I/7oKPQwK0DZ1kBL0HAUjAJjJnfsoUgZsbQmCSwUaEmjidSDVZIL9UK BbSYgambsk+/zeSeSnnVZlcSdddawLexm8cmP1s8hZ2X59VQaoJeXqfNVMNpi9GEkqmVqvC1d BqT3jcV55sWGxi1+Ql+Kr0vXPMAYz7RP4JrdYbY73lLvhGy6upTuszLKK//GSMdgz0qW9OfSj 0NfHOEtOA5U0ZZTsaNhjNExbrO1LPRCbmHfJR1UOk7BWVjRdmPQFFWdAPxYVOsW6KmdYhISjI JSI2DP+moz1GX0EwE8e0ZAj4s0nmttrQeynClJc//nGrfcJUaadaD7Od8YEs/ZcSLnXVXf1BE pRw4c8LipQ5P0aNxckn4KMVVHFk=
On 8/14/23 06:41, Budi wrote:
Zsh pcre (=~) regex of repeated any char. i.e. .* capture the first
slash but going on then cease to capture any of the rest string when
meet the second slash characters also not capture it
Please help solve !
Can you provide a reproducible example of what you are attempting to do?
Also [['s =~ operator doesn't conform to PCRE by default, its an ERE expression.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author