We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3092ac commit 33502aaCopy full SHA for 33502aa
libs/header_clean/header_clean.pl
@@ -29,12 +29,12 @@
29
########################################
30
# Find the first file: --- a/README.md #
31
32
- } elsif ($line =~ /^$ansi_sequence_regex--- ([abiwco]\/)?(.+?)(\e|$)/) {
+ } elsif ($line =~ /^$ansi_sequence_regex--- (\w\/)?(.+?)(\e|$)/) {
33
$file_1 = $5;
34
35
# Find the second file on the next line: +++ b/README.md
36
my $next = $input[++$i];
37
- $next =~ /^$ansi_sequence_regex\+\+\+ ([abiwco]\/)?(.+?)(\e|$)/;
+ $next =~ /^$ansi_sequence_regex\+\+\+ (\w\/)?(.+?)(\e|$)/;
38
if ($1) {
39
print $1; # Print out whatever color we're using
40
}
0 commit comments