Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/30/18 09:47:50 (6 years ago)
Author:
abeham
Message:

#2213: some pending changes exploring the topic

Location:
branches/2213_irace/HeuristicLab.PluginInfrastructure/3.3/CommandLineArgumentHandling
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2213_irace/HeuristicLab.PluginInfrastructure/3.3/CommandLineArgumentHandling/CommandLineArgumentHandling.cs

    r15583 r16102  
    4343
    4444    private static ICommandLineArgument ParseArgument(string entry) {
    45       var regex = new Regex(@"^/[A-Za-z]+(:\w[\w\s]*)?$");
     45      var regex = new Regex(@"^/[A-Za-z]+(:[^/]*)?$");
    4646      bool isFile = File.Exists(entry);
    4747      if (!regex.IsMatch(entry) && !isFile) return null;
     
    5454          case StartArgument.TOKEN: return new StartArgument(value);
    5555          case HideStarterArgument.TOKEN: return new HideStarterArgument(value);
    56           default: return null;
     56          default: return new SimpleArgument(key, value);
    5757        }
    5858      } else return new OpenArgument(entry);
Note: See TracChangeset for help on using the changeset viewer.