Changeset 16957
- Timestamp:
- 05/15/19 13:45:51 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Interval/IntervalConstraintsParser.cs
r16924 r16957 38 38 var targetConstraint = trimmedLine.Substring(start, end-start); 39 39 var match = Regex.Match(targetConstraint, 40 @"(['](.*)[']|(.*[^\s]))\s*(\bin\b)\s*([\[\]])\s*(\S*)\s*( ..)\s*(\S*)\s*([\[\]])");40 @"(['](.*)[']|(.*[^\s]))\s*(\bin\b)\s*([\[\]])\s*(\S*)\s*(\.{2})\s*(\S*)\s*([\[\]])"); 41 41 if (match.Success) { 42 42 if (match.Groups.Count != 10) { … … 73 73 } else if (trimmedLine.StartsWith("d") || trimmedLine.StartsWith("\u2202")) { 74 74 var match = Regex.Match(trimmedLine, 75 @"([d∂])([²³]?)\s*(['](.*)[']|(.*[^\s]))\s*(\/)\s*([d∂])\s*(['](.*)[']|(.*[^\s²³]))\s*([²³]?)\s*\bin\b\s*([\[\]])\s*(\S*)\s*( ..)\s*(\S*)\s*([\[\]])");75 @"([d∂])([²³]?)\s*(['](.*)[']|(.*[^\s]))\s*(\/)\s*([d∂])\s*(['](.*)[']|(.*[^\s²³]))\s*([²³]?)\s*\bin\b\s*([\[\]])\s*(\S*)\s*(\.{2})\s*(\S*)\s*([\[\]])"); 76 76 77 77 if (match.Success) {
Note: See TracChangeset
for help on using the changeset viewer.