nano/syntax/extra
Benno Schulenberg 0dbe857ba2 syntaxes: undouble the backslash within bracket expressions
Within a bracket expression, the backslash is not special,
so it does not need to be escaped.

The double backslashes within brackets were found with:

  grep -o  '\[[^][]*\\\\[^][]*\]'  syntax{,/extra}/*rc

Also, incorporate the square brackets into some bracket expressions
by listing the closing bracket first, saving a separate regex for
those two brackets.
2021-10-18 12:14:05 +02:00
..
ada.nanorc syntax: ada: new file -- coloring rules for Ada 2012 files 2020-06-21 09:33:14 +02:00
debian.nanorc syntaxes: remove some superfluous outer parentheses from regexes 2020-04-21 12:49:29 +02:00
fortran.nanorc syntaxes: move the rules for Fortran and Povray files down to extra/ 2020-04-21 12:11:44 +02:00
gentoo.nanorc syntaxes: undouble the backslash within bracket expressions 2021-10-18 12:14:05 +02:00
haskell.nanorc syntaxes: remove some superfluous outer parentheses from regexes 2020-04-21 12:49:29 +02:00
povray.nanorc syntaxes: remove some superfluous outer parentheses from regexes 2020-04-21 12:49:29 +02:00
spec.nanorc syntax: move distro-specific files down to a subdirectory, syntax/extra/ 2020-04-14 19:05:41 +02:00