The exception class will include the eol unless specifically told not to. You need to put a "\r" in your exception class.
I'd like to see a few more examples of your data but if you replace the exception class with a word character class it seems you might get what you're looking for ^,,([\w]+) ([\w]+), On Tuesday, March 1, 2022 at 4:32:20 PM UTC-5 [email protected] wrote: > I am using the following pattern: > > ^,,([^ ]+) ([^,@]+), > > And it is matching across the EOL markers. I though the default was for > pattern not to do that unless specifically told to? > > It is the [^ ]+ that seems to do it. > > What I am trying to match is a ",,word word," and not match ",,word,word" > > -- > You came in that thing? You're braver than I thought! > > -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/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 on the web visit https://groups.google.com/d/msgid/bbedit/ecc95afd-dc0d-41a0-8b7e-927461c77cc4n%40googlegroups.com.
