Skip to content
Snippets Groups Projects
Commit 0b195e02 authored by Philip Lijnzaad's avatar Philip Lijnzaad
Browse files

less strict checking of id_regexp

parent 9f2754df
No related branches found
No related tags found
......@@ -75,7 +75,7 @@ while (<STDIN>) {
if ( /$id_regexp/ ) { # ... but only if anything looks like an ID
my @words = split /$word_delim/;
foreach my $w ( @words ) {
if ( $w =~ /^$id_regexp$/ ) {
if ( $w =~ /$id_regexp/) {
if (defined $map{$w}) {
s/\b$w\b/$map{$w}/g; # works on $_
$remapped++;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment