From: Karl Williamson Date: Thu, 5 Jan 2012 20:13:55 +0000 (-0700) Subject: regcomp.c: Change \t to a - in debug dumping ranges X-Git-Tag: accepted/trunk/20130322.191538~1219 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a9c8476506e958525742249d6133eb15ab93bb0;p=platform%2Fupstream%2Fperl.git regcomp.c: Change \t to a - in debug dumping ranges This changes the separator in the output of a range from a tab to a hyphen, which is clearer. --- diff --git a/regcomp.c b/regcomp.c index 34eefc7..0cca900 100644 --- a/regcomp.c +++ b/regcomp.c @@ -11969,6 +11969,10 @@ Perl_regprop(pTHX_ const regexp *prog, SV *sv, const regnode *o) while (*s) { if (*s == '\n') *s = ' '; + } + else if (*s == '\t') { + *s = '-'; + } s++; } if (s[-1] == ' ')