If you add (?-i) to the start of the string, it will work regardless of the Case-sensitive setting.

Rick Gordon


From: Roland Küffner <[email protected]>
To: [email protected]
Date: Mon, Apr 7, 2025 3:39:59PM -0700
Subject: Grep pattern needed
Just to be sure: do you have the "Case sensitive" option turned on in the Find dialog? In a quick test your pattern worked as expected … IF "Case sensitive" was turned on.

Regards, Roland

On Sun, Apr 6, 2025 at 9:40 AM Otto Munters <[email protected]> wrote:
I use this Grep pattern   ^[a-z]+[\W]*$  to find lines consisting of one single word without a capital letter and including punctuation. However, BBedit also finds words that start with a capital letter. How can I correct that?

Thanks for helping!
Otto
--
This is the BBEdit Talk public discussion group. If you have a feature request or believe that the application isn't working correctly, please email "[email protected]" rather than posting here. Follow @bbedit on Mastodon: <https://mastodon.social/@bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/bbedit/ed337435-c278-47ca-90d0-6596efc2770fn%40googlegroups.com.
--
This is the BBEdit Talk public discussion group. If you have a feature request or believe that the application isn't working correctly, please email "[email protected]" rather than posting here. Follow @bbedit on Mastodon: <https://mastodon.social/@bbedit>
-

_______________________________________
RICK GORDON
_______________________________________

EMAIL: [email protected]
WWW: www.shelterpub.com

--
This is the BBEdit Talk public discussion group. If you have a feature request or believe that the application isn't working correctly, please email "[email protected]" rather than posting here. Follow @bbedit on Mastodon: <https://mastodon.social/@bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/bbedit/9211b3c9-b69e-4dc7-b7a3-cd898420322a%40rickgordon.com.

Reply via email to