diff options
author | Joachim Wagner <jowagner@users.noreply.github.com> | 2018-06-22 20:16:11 +0300 |
---|---|---|
committer | Joachim Wagner <jowagner@users.noreply.github.com> | 2018-06-22 20:16:11 +0300 |
commit | 2aa5cd21527d2d9a0cbc52cdb0b7c9c0a618e963 (patch) | |
tree | 697890cf08285afa9a869878f450f1059935e8b8 | |
parent | 03578921cc1a03402c601eb9d21f95f8228001fe (diff) |
fix syntax error in regular expression
-rwxr-xr-x | scripts/ems/experiment.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ems/experiment.perl b/scripts/ems/experiment.perl index d7088229b..7b1ac5b3a 100755 --- a/scripts/ems/experiment.perl +++ b/scripts/ems/experiment.perl @@ -623,7 +623,7 @@ sub find_steps_for_module { print "\t\tneeds input $in: " if $VERBOSE; if(defined($CONFIG{$in}) && $CONFIG{$in}[0] =~ /^\[(.+)\]$/) { # multiple input, explicitly defined (example: LM:{europarl,nc}:lm ) - if ($CONFIG{$in}[0] =~ /^\[([^:]+):{(\S+)}:(\S+)\]$/) { + if ($CONFIG{$in}[0] =~ /^\[([^:]+):[{](\S+)[}]:(\S+)\]$/) { my @SETS = split(',', $2); foreach my $set (@SETS) { $in = &construct_name($1,$set,$3); |