Build, test, and debug regular expressions
Matches shell/readline keybinding notation for control and escape characters. It captures escape representations (^[[, ^[, \e, \u001B), control-key carets (^@, ^A–^Z, or a bare ^), the Meta prefix \M-, and Ctrl+C written as ^C or octal \003. Ideal for parsing bind commands, .inputrc entries, or documentation where keys are expressed in caret/backslash notation.