
15 Sep
2005
15 Sep
'05
1:52 p.m.
"Eric Niebler" <eric@boost-consulting.com> writes:
Scott Woods wrote:
1. What is the benefit of providing the complete match in the first entry of the results? e.g. "what[0]". While this is consistent with a long tradition in RE, after some time with STL it's presence at position zero wasnt as comfortable as I expected.
I'm curious, what did your experience with STL lead you to expect?
I did it this way because TR1 regex does it that way.
Python does it that way, too, FWIW. -- Dave Abrahams Boost Consulting www.boost-consulting.com