From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-users@zsh.org
Subject: Re: [[ 'abcde' =~ (#i)Bcd ]]
Date: Tue, 8 Nov 2022 06:30:52 -0800 [thread overview]
Message-ID: <40b4884f-3851-9e52-c193-0a4d4467af02@eastlink.ca> (raw)
In-Reply-To: <CAN=4vMqzX_25YgETNGd_=oc1Jw2x6MNyDaWco0f7OzAq6jK0KA@mail.gmail.com>
On 2022-11-08 06:37, Roman Perepelitsa wrote:
>
> Can you give an example of a use case where you are using a regex and
> cannot use a pattern instead? None of the examples you already listed
> would qualify.
Let me chew over what I've learned just yesterday and today and see how
it shakes out then backatcha. It's huge just conceptualizing the
difference. As I said, I've tended to think of globbing and regex and
pattern matching as more or less the same thing. :(
next prev parent reply other threads:[~2022-11-08 14:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-07 21:10 Ray Andrews
2022-11-07 21:26 ` Roman Perepelitsa
2022-11-07 21:47 ` Ray Andrews
2022-11-07 22:15 ` Lawrence Velázquez
2022-11-08 1:57 ` Ray Andrews
2022-11-07 21:50 ` Lawrence Velázquez
2022-11-08 2:05 ` Ray Andrews
2022-11-08 8:19 ` Roman Perepelitsa
2022-11-08 13:32 ` Ray Andrews
2022-11-08 14:37 ` Roman Perepelitsa
2022-11-08 14:30 ` Ray Andrews [this message]
2022-11-08 17:40 ` Phil Pennock
2022-11-08 18:43 ` Ray Andrews
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=40b4884f-3851-9e52-c193-0a4d4467af02@eastlink.ca \
--to=rayandrews@eastlink.ca \
--cc=zsh-users@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).