understand quoted ids in wml
This commit is contained in:
parent
857fdf0158
commit
420406da77
1 changed files with 3 additions and 1 deletions
|
@ -72,7 +72,9 @@ foreach my $wmlfile (@wmlfiles) {
|
|||
my ($str, $key, $value,$strtype);
|
||||
while (<WML>) {
|
||||
# print STDERR $_;
|
||||
if (m/id\s*=\s*(.*)/) {
|
||||
if (m/id\s*=\s*"(.*)"/) {
|
||||
$id = $1;
|
||||
} elsif (m/id\s*=\s*(.*)/) {
|
||||
$id = $1;
|
||||
# print STDERR "--> $id\n";
|
||||
# } elsif (m,\[/.*\],) {
|
||||
|
|
Loading…
Add table
Reference in a new issue