Sam,

Why does the pattern .*?b only match aaab and not aab? Isn’t aab the shortest 
string possible?

Howard
On Dec 19, 2019, 1:17 PM -0500, bbedit@googlegroups.com, wrote:
>
> The pattern .*b will match aaabaab, while the pattern .*?b will match aaab.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
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 bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/3bd69852-6b94-4853-8ea5-f769861c5902%40Spark.

Reply via email to