Skip to content

Commit

Permalink
QRegularExpression: update the error strings to the ones in PCRE 8.35
Browse files Browse the repository at this point in the history
Change-Id: Iee03fff5971712c3eb51a32d632cb1a6c276699c
Reviewed-by: Lars Knoll <[email protected]>
  • Loading branch information
dangelog authored and The Qt Project committed Apr 28, 2014
1 parent 414a411 commit 442c70f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/corelib/tools/qregularexpression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2490,7 +2490,16 @@ static const char *pcreCompileErrorCodes[] =
QT_TRANSLATE_NOOP("QRegularExpression", "disallowed Unicode code point (>= 0xd800 && <= 0xdfff)"),
QT_TRANSLATE_NOOP("QRegularExpression", "invalid UTF-16 string"),
QT_TRANSLATE_NOOP("QRegularExpression", "name is too long in (*MARK), (*PRUNE), (*SKIP), or (*THEN)"),
QT_TRANSLATE_NOOP("QRegularExpression", "character value in \\u.... sequence is too large")
QT_TRANSLATE_NOOP("QRegularExpression", "character value in \\u.... sequence is too large"),
QT_TRANSLATE_NOOP("QRegularExpression", "invalid UTF-32 string"),
QT_TRANSLATE_NOOP("QRegularExpression", "setting UTF is disabled by the application"),
QT_TRANSLATE_NOOP("QRegularExpression", "non-hex character in \\x{} (closing brace missing?)"),
QT_TRANSLATE_NOOP("QRegularExpression", "non-octal character in \\o{} (closing brace missing?)"),
QT_TRANSLATE_NOOP("QRegularExpression", "missing opening brace after \\o"),
QT_TRANSLATE_NOOP("QRegularExpression", "parentheses are too deeply nested"),
QT_TRANSLATE_NOOP("QRegularExpression", "invalid range in character class"),
QT_TRANSLATE_NOOP("QRegularExpression", "group name must start with a non-digit"),
QT_TRANSLATE_NOOP("QRegularExpression", "parentheses are too deeply nested (stack check)")
};
#endif // #if 0

Expand Down

0 comments on commit 442c70f

Please sign in to comment.