~vcs-imports/nano/master

Viewing all changes in revision 8133.

  • Committer: Benno Schulenberg
  • Date: 2019-08-19 15:15:29 UTC
  • Revision ID: git-v1:bdf1a9d4e73520c11c5d31ef6ff3161f5989b5e3
syntax: perl: avoid upsetting older glibcs with crafty range expression

The regcomp() function from glibc-2.27 (and older) considers the
bracket expression ['-.] to be invalid -- mistakenly.  Avoid using
any range expression in the relevant regex and instead enumerate
all acceptable characters.

This avoids https://savannah.gnu.org/bugs/?56766.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: