From: Eric Cook <llua@gmx.com>
To: zsh-workers@zsh.org
Subject: Re: Regex not halt caputre second slash
Date: Mon, 14 Aug 2023 08:59:42 -0400 [thread overview]
Message-ID: <f33fc646-f502-dc2b-080c-608f8bdcbdb3@gmx.com> (raw)
In-Reply-To: <CAH0GyZAr=invyu8z3JBcZuM5YXVBx-PxccGt5485Bg0eZh0TDg@mail.gmail.com>
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.
next prev parent reply other threads:[~2023-08-14 13:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-14 10:41 Budi
2023-08-14 12:59 ` Eric Cook [this message]
2023-08-14 23:07 ` Budi
2023-08-15 0:24 ` Lawrence Velázquez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f33fc646-f502-dc2b-080c-608f8bdcbdb3@gmx.com \
--to=llua@gmx.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).