diff options
author | Karl Williamson <khw@cpan.org> | 2017-01-30 14:52:46 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-06-01 07:05:15 -0600 |
commit | eb7486de5e577623ae719baf1b442bde992cb7c7 (patch) | |
tree | 0deb27559c5d6a3c3fefa923bd7196b5830e5897 /regcomp.c | |
parent | ca31f56c9ea43ef6c05c38da5542fb95a322f2c1 (diff) | |
download | perl-eb7486de5e577623ae719baf1b442bde992cb7c7.tar.gz |
Slightly change -Dr output of regex ANYOF nodes
This changes to precede each literal '[' in a [...] class with a
backslash to better make is standout as a literal
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -119,7 +119,7 @@ typedef struct scan_frame { /* Certain characters are output as a sequence with the first being a * backslash. */ -#define isBACKSLASHED_PUNCT(c) strchr("-]\\^", c) +#define isBACKSLASHED_PUNCT(c) strchr("-[]\\^", c) struct RExC_state_t { |