PC Review


Reply
Thread Tools Rate Thread

CAtlRegExp so limited?

 
 
=?Utf-8?B?cmljYXJkbyByb2RyaWdleg==?=
Guest
Posts: n/a
 
      23rd Nov 2005
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.
 
Reply With Quote
 
 
 
 
Carl Daniel [VC++ MVP]
Guest
Posts: n/a
 
      23rd Nov 2005
ricardo rodrigez wrote:
> 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/de...catlregexp.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


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.net application - how to use CATLRegExp? SeanInSeattle Microsoft Dot NET 0 13th Jan 2009 04:37 PM
exactly what is limited on a limited account ? what is protected and what is not ? *ProteanThread* Windows XP General 6 8th Jul 2004 04:43 PM
exactly what is limited on a limited account ? what is protected and what is not ? *ProteanThread* Windows XP New Users 3 6th Jul 2004 02:00 AM
exactly what is limited on a limited account ? what is protected and what is not ? *ProteanThread* Windows XP Help 3 6th Jul 2004 02:00 AM
Limited users have limited use of Internet Explorer John Sculati Windows XP Help 0 12th Dec 2003 02:12 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:16 PM.