ICU-2422 Regexp, fix test failures on mainframes (I hope)

X-SVN-Rev: 11901
This commit is contained in:
Andy Heninger 2003-05-12 23:22:51 +00:00
parent bf7b289aa0
commit b84d58609f

View File

@ -302,7 +302,7 @@ void RegexTest::regex_find(const UnicodeString &pattern,
goto cleanupAndReturn; goto cleanupAndReturn;
} }
if (flags.indexOf((UChar)'G') >= 0) { if (flags.indexOf((UChar)0x47 /*G*/) >= 0) {
// Only check for match / no match. Don't check capture groups. // Only check for match / no match. Don't check capture groups.
if (isMatch && groupStarts.size() == 0) { if (isMatch && groupStarts.size() == 0) {
errln("Error at line %d: No match expected, but one found.\n", line); errln("Error at line %d: No match expected, but one found.\n", line);