diff options
author | Marcin Junczys-Dowmunt <junczys@amu.edu.pl> | 2016-04-23 00:15:36 +0300 |
---|---|---|
committer | Marcin Junczys-Dowmunt <junczys@amu.edu.pl> | 2016-04-23 00:15:36 +0300 |
commit | 5744e10989ba983197088242d3819c206fa023f5 (patch) | |
tree | a9e21c29534cc48c36aa47aa056627cdddab3923 /scripts/rescore.pl | |
parent | bb4d5aa544ac9ae1cfd002a71458e05a7e6f2707 (diff) |
fixed regexp again
Diffstat (limited to 'scripts/rescore.pl')
-rwxr-xr-x | scripts/rescore.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/rescore.pl b/scripts/rescore.pl index c32d16c7..05213977 100755 --- a/scripts/rescore.pl +++ b/scripts/rescore.pl @@ -43,8 +43,8 @@ while (<W>) { } close(W); -my $PATTERN1 = quotemeta(join(" ", map { "\\b$_= \\S+" } @FEATURES)); -my $PATTERN2 = quotemeta("\\b$BEFORE \\S+"); +my $PATTERN1 = join(" ", map { "\\b$_= \\S+" } @FEATURES); +my $PATTERN2 = "\\b$BEFORE \\S+"; print STDERR $PATTERN1, "\n"; print STDERR $PATTERN2, "\n"; |