Skip to content

Commit 9ab30d7

Browse files
authored
Fix typo (#16)
The regular expression /^*%/ matches any line that contains a "%" character; however, the code's intention is to match lines that start with the characters "*%".
1 parent 2025a81 commit 9ab30d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Foomatic/PPD.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ sub new {
2525
for $l (<PPD>) {
2626

2727
# skip comments
28-
next if ($l =~ m!^*%!);
28+
next if ($l =~ m!^\*%!);
2929

3030
# skip blank lines
3131
next if ($l =~ m!^\s*$!);

0 commit comments

Comments
 (0)