Skip to content

Commit 45e7f05

Browse files
committed
[css2] Regexp should have "/", not quotes.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401952
1 parent 5259c8a commit 45e7f05

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

css2/bin/pextr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# <span class="propinst-name">&lt;'name'&gt;</span>
1414
#
1515
# Ian Jacobs - ij@w3.org (Based on work by Arnaud Le Hors)
16-
# $Id: pextr,v 1.21 2002-08-21 11:45:14 bbos Exp $
16+
# $Id: pextr,v 1.22 2002-08-21 12:45:29 bbos Exp $
1717
#
1818

1919
$PROGNAME = substr($0, rindex($0, "/") + 1);
@@ -171,7 +171,7 @@ while (/$blockst$patt;;$patt;;$patt;;$patt;;$patt;;$patt;;$patt;;$patt$blocket/s
171171
my $lvl = $8;
172172
my @names = split(/[, \t\n]+/, $props);
173173
my $name = $names[0];
174-
if ($lvl =~ "\b$level\b") {
174+
if ($lvl =~ /\b$level\b/) {
175175
$output = "$path$name.srb";
176176
print "\textracting $output\n";
177177
open(output, "> $output");

0 commit comments

Comments
 (0)