Changeset 16732
- Timestamp:
- 04/01/19 10:14:06 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Parser/IntervalConstraintsParser.cs
r16713 r16732 8 8 public static IEnumerable<IntervalConstraint> Parse(string input) { 9 9 var options = RegexOptions.Multiline | RegexOptions.IgnoreCase; 10 var matches = Regex.Matches(input, @"^(.*)\bin\b\s*([\[\]])(.*[^\s])(\s*\.\.\s*)([^\s].*)([\[\]])\ r?\s*$", options);10 var matches = Regex.Matches(input, @"^(.*)\bin\b\s*([\[\]])(.*[^\s])(\s*\.\.\s*)([^\s].*)([\[\]])\n*\r*\s*$", options); 11 11 12 12 for (var i = 0; i < matches.Count; ++i) {
Note: See TracChangeset
for help on using the changeset viewer.