Peter Novikov <[email protected]> wrote:

> The following code sample worked with libicu40; now it crashes with libicu44
>
> /// Sample start
> UErrorCode status = U_ZERO_ERROR;
> RegexMatcher* const pMatcher = new RegexMatcher("\\Afoo\\z", 
> UREGEX_DOTALL|UREGEX_CASE_INSENSITIVE, status);
> if (!U_FAILURE(status))
> {
>   UnicodeString str;
>   str.setToBogus();
>   pMatcher->reset(str); // Load matcher with bogus string
>   status = U_ZERO_ERROR;
>   pMatcher->matches(status);  // Crash here
> } 
> /// Sample end

In order for me to be able to reproduce this problem, please provide
complete information including a file that has all the necessary
#include statements compilation instructions.  Thanks!

-- 
Jay Berkenbilt <[email protected]>



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to