Home | History | Annotate | Download | only in intltest

Lines Matching full:regex_err

503 //    REGEX_ERR       Macro + invocation function to simplify writing tests
507 // REGEX_ERR("pattern", expected error line, column, expected status);
510 #define REGEX_ERR(pat, line, col, status) regex_err(pat, line, col, status, __LINE__);
512 void RegexTest::regex_err(const char *pat, int32_t errLine, int32_t errCol,
3729 //REGEX_ERR("hex format \\x{abcd} not implemented", 1, 13, U_REGEX_UNIMPLEMENTED);
3732 REGEX_ERR("Comment (?# with no close", 1, 25, U_REGEX_MISMATCHED_PAREN);
3733 REGEX_ERR("Capturing Parenthesis(...", 1, 25, U_REGEX_MISMATCHED_PAREN);
3734 REGEX_ERR("Grouping only parens (?: blah blah", 1, 34, U_REGEX_MISMATCHED_PAREN);
3737 REGEX_ERR("Grouping only parens (?: blah)) blah", 1, 31, U_REGEX_MISMATCHED_PAREN);
3738 REGEX_ERR(")))))))", 1, 1, U_REGEX_MISMATCHED_PAREN);
3739 REGEX_ERR("(((((((", 1, 7, U_REGEX_MISMATCHED_PAREN);
3743 REGEX_ERR("abc(?<@xyz).*", 1, 7, U_REGEX_RULE_SYNTAX); // illegal construct
3759 REGEX_ERR("+", 1, 1, U_REGEX_RULE_SYNTAX);
3760 REGEX_ERR("abc\ndef(*2)", 2, 5, U_REGEX_RULE_SYNTAX);
3761 REGEX_ERR("abc**", 1, 5, U_REGEX_RULE_SYNTAX);
3764 REGEX_ERR("abc{a,2}",1,5, U_REGEX_BAD_INTERVAL);
3765 REGEX_ERR("abc{4,2}",1,8, U_REGEX_MAX_LT_MIN);
3766 REGEX_ERR("abc{1,b}",1,7, U_REGEX_BAD_INTERVAL);
3767 REGEX_ERR("abc{1,,2}",1,7, U_REGEX_BAD_INTERVAL);
3768 REGEX_ERR("abc{1,2a}",1,8, U_REGEX_BAD_INTERVAL);
3769 REGEX_ERR("abc{222222222222222222222}",1,14, U_REGEX_NUMBER_TOO_BIG);
3770 REGEX_ERR("abc{5,50000000000}", 1, 17, U_REGEX_NUMBER_TOO_BIG); // Overflows int during scan
3771 REGEX_ERR("abc{5,687865858}", 1, 16, U_REGEX_NUMBER_TOO_BIG); // Overflows regex binary format
3772 REGEX_ERR("abc{687865858,687865859}", 1, 24, U_REGEX_NUMBER_TOO_BIG);
3775 REGEX_ERR("*c", 1, 1, U_REGEX_RULE_SYNTAX);
3781 REGEX_ERR("(ab)\\0", 1, 6, U_REGEX_BAD_ESCAPE_SEQUENCE);