Re: CAtlREMatchContext and special characters

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 12/20/04


Date: Mon, 20 Dec 2004 11:00:38 -0500


"smalolepszy" <smalolepszy@poczta.onet.pl> wrote in message
news:21669c6c.0412200106.288d5f56@posting.google.com
> I have problem with special language characters, which have ascii code
> above 128.

Known problem. See

http://groups-beta.google.com/group/microsoft.public.vc.atl/browse_frm/thread/8eba20965be51c2b/58a0eb917936d4d8

No workaround that I know of.

I found CAtlRegExp to be rather buggy. Also, it uses an unusual regex
dialect. Consider using Greta [1] or Boost regex [2] instead. The latter
is very close to becoming part of C++ standard (or to be exact, C++
Library Technical Report). I've seen claims that Greta is noticeably
faster, but have not verified them myself either way.

[1] http://research.microsoft.com/projects/greta/
[2] http://boost.org/libs/regex/doc/index.html

-- 
With best wishes,
    Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not 
necessarily a good idea. It is hard to be sure where they are going to 
land, and it could be dangerous sitting under them as they fly 
overhead. -- RFC 1925