Add support for named sub-expressions.

[SVN r52823]
This commit is contained in:
John Maddock committed 2009-05-07 09:46:51 +00:00
1 parent 30941e330d
commit 55d979060c
49 files changed
+1287 -206

No files matched your search

+2 -2
View File
@@ -107,7 +107,7 @@ void test_deprecated(const char&, const test_regex_search_tag&)
int i = 0;
while(results[2*i] != -2)
{
if(max_subs > i)
if((int)max_subs > i)
{
if(results[2*i] != matches[i].rm_so)
{
@@ -231,7 +231,7 @@ void test_deprecated(const wchar_t&, const test_regex_search_tag&)
int i = 0;
while(results[2*i] != -2)
{
if(max_subs > i)
if((int)max_subs > i)
{
if(results[2*i] != matches[i].rm_so)
{