mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 10:17:23 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue