From 27daf5669559d9755c5886825536aefd01d540ca Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Thu, 23 Feb 2017 10:30:42 +0000 Subject: [PATCH 1/1] Deparse: make a complex pattern readable with /x In sub re_unback(). It shouldn't change its functionality, but just add whitespace and comments for readability. --- lib/B/Deparse.pm | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/lib/B/Deparse.pm b/lib/B/Deparse.pm index 0a68828..47b557d 100644 --- a/lib/B/Deparse.pm +++ b/lib/B/Deparse.pm @@ -4825,7 +4825,23 @@ sub re_unback { my($str) = @_; # the insane complexity here is due to the behaviour of "\c\" - $str =~ s/(^|[^\\]|\\c\\)(?