ICU-6132 Set the retMatcher's status to the correct error code.
X-SVN-Rev: 23266
This commit is contained in:
parent
f95265173e
commit
d4081eab27
@ -328,6 +328,7 @@ uint32_t RegexPattern::flags() const {
|
||||
RegexMatcher *RegexPattern::matcher(const UnicodeString &input,
|
||||
UErrorCode &status) const {
|
||||
RegexMatcher *retMatcher = matcher(status);
|
||||
retMatcher->fDeferredStatus = status;
|
||||
if (retMatcher != NULL) {
|
||||
retMatcher->reset(input);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user