Skip to content

Incorrect "invalid escape sequence" error message #535

@FlameWolf

Description

@FlameWolf

Expression: /[\u{D00}-\u{D7F}]|[\u{11000}-\u{1107F}]/gu

Input: കുട്ടൂസൻ: "നീയാടാ യഥാർഥ കൊള്ളക്കാരൻ. ഹൊ, നിന്നെ കെട്ടിപ്പിടിച്ച് ഒരുമ്മ തരാൻ തോന്നുന്നു." 𑁲𑀭𑀺𑀓𑁆𑀓𑀮𑁰 𑀭𑀸𑀚𑀼𑀯𑀼𑀁 𑀭𑀸𑀥𑀬𑀼𑀁 𑀯𑀵𑀺𑀬𑀺𑀮𑀽𑀝𑁳 𑀦𑀝𑀦𑁆𑀦𑀼 𑀧𑁄𑀯𑀼𑀓𑀬𑀸𑀬𑀺𑀭𑀼𑀦𑁆𑀦𑀼. 𑀧𑁳𑀝𑁆𑀝𑁳𑀦𑁆𑀦𑀸𑀡𑁆 𑀟𑀸𑀓𑀺𑀦𑀺𑀬𑀼𑀁 𑀓𑀼𑀝𑁆𑀝𑀽𑀲𑀦𑀼𑀁 𑀅𑀯𑀭𑀼𑀝𑁳 𑀫𑀼𑀷𑁰𑀧𑀺𑀮𑁂𑀓𑁆𑀓𑁆 𑀘𑀸𑀝𑀺 𑀯𑀻𑀡𑀢𑁆. "𑀓𑀺𑀝𑁆𑀝𑀺𑀧𑁆𑀧𑁄𑀬𑀺!" 𑀅𑀝𑁆𑀝𑀳𑀲𑀺𑀘𑁆𑀘𑀼𑀓𑁴𑀡𑁆𑀝𑁆 𑀅𑀯𑀭𑁰 𑀓𑀼𑀝𑁆𑀝𑀺𑀓𑀴𑁳 𑀧𑀺𑀝𑀺𑀓𑀽𑀝𑀺. 𑀪𑀸𑀕𑁆𑀬𑀢𑁆𑀢𑀺𑀦𑁆 𑀭𑀸𑀥𑀬𑁆𑀓𑁆𑀓𑁆 𑀓𑀼𑀢𑀶𑀺𑀬𑁄𑀝𑀸𑀷𑁰 𑀧𑀶𑁆𑀶𑀺.

Issue: The validator shows this error: "\u ERROR: Invalid escape sequence." But the expression is perfectly valid and highlights the matches in the editor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions