Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#550·regexr

Incorrect parsing of []]

Author: thomasmuellerCreated Aug 23, 2025Updated Aug 23, 2025

According to https://en.wikipedia.org/wiki/Regular_expression Bracket expression:

Backslash escapes are not allowed. The ] character can be included in a bracket expression if it is the first (after the ^, if present) character: []abc], [^]abc].

Source: gskinner/regexr

View original on GitHubView discussion on GitHub