You're right Carl, I stand corrected. I've been using Regular Expressions in
editors to modify text so much I didn't realize that's where I got my
"industry standard" view. And to make matters worse it's MS that is using
different syntax in their VS IDE vs the Regex library in C#. For instance .#
is used for minimal matching in IDE vs .+? in Regex library.VS IDE uses {} to
tag expressions compared to () in the library. That's where my confusion came
from.
Thanks for clearing that up.
"Carl Daniel [VC++ MVP]" wrote:
Dabbler wrote:
I figured it out, I was getting confused between industry standard
Regex quantifiers and MS proprietary versions
e.g. for minimal match I was using .# whereas MS uses .*?
..*? is the industry standard (and ECMA standard) way of specifying minimal
match, AFIAK. Where have you seen a regex that uses .# ?
-cd