CAtlRegExp so limited?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I don't manage to use the instance number meta-character brace in ATL regular
expressions.
For instance :

\d{5} meaning 5 digits fails with '01234'

or

a{3} meaning i want three 'a' fails with 'aaa'

I cannot believe that we cannot make it with this ATL routine, that's so
basic I must be missing something...

Thanks for any information.
 
ricardo said:
I don't manage to use the instance number meta-character brace in ATL
regular expressions.
For instance :

\d{5} meaning 5 digits fails with '01234'

or

a{3} meaning i want three 'a' fails with 'aaa'

I cannot believe that we cannot make it with this ATL routine, that's
so basic I must be missing something...

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/vclrfcatlregexp.asp

CAtlRegExp does not support "industry standard" (i.e. Perl-like) regular
expressions. Rather, it has it's own variant, which does not appear to
support explicit quantifiers.

-cd
 
Back
Top