Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/15/19 13:45:51 (6 years ago)
Author:
chaider
Message:

#2971 Fixed parsing of seperator between lower- and upper-bound to match exactly two points

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Interval/IntervalConstraintsParser.cs

    r16924 r16957  
    3838          var targetConstraint = trimmedLine.Substring(start, end-start);
    3939          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*([\[\]])");
    4141          if (match.Success) {
    4242            if (match.Groups.Count != 10) {
     
    7373        } else if (trimmedLine.StartsWith("d") || trimmedLine.StartsWith("\u2202")) {
    7474          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*([\[\]])");
    7676
    7777          if (match.Success) {
Note: See TracChangeset for help on using the changeset viewer.