Changeset 13629
- Timestamp:
- 02/23/16 11:04:37 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/CommandLineArgumentHandling/CommandLineArgumentHandling.cs
r12012 r13629 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]+)?$"); 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.