Changeset 16865
- Timestamp:
- 04/23/19 13:21:08 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Parser/IntervalConstraintsParser.cs ¶
r16830 r16865 78 78 var targetConstraint = trimmedLine.Substring(start, end-start); 79 79 var match = Regex.Match(targetConstraint, 80 @" (.*)\s*(\bin\b)\s*([])\s*(\S*)\s*(..)\s*(\S*)\s*([])");80 @"['](.*)[']\s*(\bin\b)\s*([])\s*(\S*)\s*(..)\s*(\S*)\s*([])"); 81 81 if (match.Success) { 82 82 if (match.Groups.Count != 8) { … … 108 108 } else if (trimmedLine.StartsWith("d") || trimmedLine.StartsWith("\u2202")) { 109 109 var match = Regex.Match(trimmedLine, 110 @"([d∂])([²³] )?\s*(.*)\s+(\/)\s+([d∂])\s*([^²³]*)([²³])?\s*\bin\b\s*([])\s*(\S*)\s*(..)\s*(\S*)\s*([])");110 @"([d∂])([²³]?)\s*['](.*)[']\s*(\/)\s*([d∂])\s*['](.*)[']\s*([²³]?)\s*\bin\b\s*([])\s*(\S*)\s*(..)\s*(\S*)\s*([])"); 111 111 112 112 if (match.Success) {
Note: See TracChangeset
for help on using the changeset viewer.