Skip to content

Commit de60299

Browse files
committed
[css2] Updated to latest HTML version
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40415
1 parent 6571044 commit de60299

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

css2/bin/Attic/mkanchdb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# and build a database for it.
44
#
55
# Arnaud Le Hors - lehors@w3.org
6-
# $Id: mkanchdb,v 1.1 1997-07-29 17:14:53 ijacobs Exp $
6+
# $Id: mkanchdb,v 1.2 1997-11-20 23:56:46 ian Exp $
77

88
$PROGNAME = substr($0, rindex($0, "/") + 1);
99

@@ -41,8 +41,10 @@ sub addanchor {
4141
}
4242
}
4343

44+
$sp = "[ \t\n]*"; # space
45+
$ws = "[ \t\n]+"; # word separator
4446
# look for index anchors
45-
$banchorp = "<a[ \t\n]+name=";
47+
$banchorp = "<a(?:$ws)name=$sp";
4648
$eanchorp = ".*?>";
4749
# non quoted name
4850
$namep = "$prefix-([^\"][^ \t\n>]+)";

css2/bin/mkanchdb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# and build a database for it.
44
#
55
# Arnaud Le Hors - lehors@w3.org
6-
# $Id: mkanchdb,v 1.1 1997-07-29 17:14:53 ijacobs Exp $
6+
# $Id: mkanchdb,v 1.2 1997-11-20 23:56:46 ian Exp $
77

88
$PROGNAME = substr($0, rindex($0, "/") + 1);
99

@@ -41,8 +41,10 @@ sub addanchor {
4141
}
4242
}
4343

44+
$sp = "[ \t\n]*"; # space
45+
$ws = "[ \t\n]+"; # word separator
4446
# look for index anchors
45-
$banchorp = "<a[ \t\n]+name=";
47+
$banchorp = "<a(?:$ws)name=$sp";
4648
$eanchorp = ".*?>";
4749
# non quoted name
4850
$namep = "$prefix-([^\"][^ \t\n>]+)";

0 commit comments

Comments
 (0)