Changeset 14029 for branches/crossvalidation-2434/HeuristicLab.PluginInfrastructure/3.3/CommandLineArgumentHandling
- Timestamp:
- 07/08/16 14:40:02 (8 years ago)
- Location:
- branches/crossvalidation-2434
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/crossvalidation-2434
- Property svn:mergeinfo changed
-
branches/crossvalidation-2434/HeuristicLab.PluginInfrastructure/3.3/CommandLineArgumentHandling/CommandLineArgumentHandling.cs
r12012 r14029 43 43 44 44 private static ICommandLineArgument ParseArgument(string entry) { 45 var regex = new Regex(@"^/[A-Za-z]+(: [A-Za-z0-9\s]+)?$");45 var regex = new Regex(@"^/[A-Za-z]+(:\w[\w\s]*)?$"); 46 46 bool isFile = File.Exists(entry); 47 47 if (!regex.IsMatch(entry) && !isFile) return null;
Note: See TracChangeset
for help on using the changeset viewer.