mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00

**Problem:**
The brackets in the RFC2732 regular expression are currently unescaped,
causing them to be misinterpreted as special characters denoting
character groups rather than as literal characters.
**Solution:**
Escape the brackets.
Fix #31270
(cherry picked from commit 442d338cb5
)