Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2005-03-04 16:19:05

Support Requests item #1156957, was opened at 2005-03-04 13:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Regex

Initial Comment:

If I use the following code:

lv_rcode = regcomp(&lr_re, ms_RegExp,

lv_rcode = regexec(&lr_re, &lv_string[0], 1, &pm, 0);

to find the following text:


Using the following regular expression


The text if found.

However if I use instead the following code

boost::regex regx(;
flags = boost::match_default;
boost::regex_search(start, end, what, regx, flags)

With the same regular expression it does not find the
string unless I use the following regular expression:


The difference is the lower case of the alpha range [a-z]

My question:

Is there a way I can use regexec to be case sensitive for
the alpha range like it is with regex_search function?




You can respond by visiting:

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at