Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Wagner <jowagner@users.noreply.github.com>2018-06-22 20:16:11 +0300
committerJoachim Wagner <jowagner@users.noreply.github.com>2018-06-22 20:16:11 +0300
commit2aa5cd21527d2d9a0cbc52cdb0b7c9c0a618e963 (patch)
tree697890cf08285afa9a869878f450f1059935e8b8
parent03578921cc1a03402c601eb9d21f95f8228001fe (diff)
fix syntax error in regular expression
-rwxr-xr-xscripts/ems/experiment.perl2
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);