You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some matching assumes . for decimal separator, which is not the case in
some regions.
FitMatcher.pas uses two regular expressions to match comparative results:
line 72:
p := '^\s*_?\s*(<|>|<=|>=)\s*([-+]?[\d]*\.?[\d]+)';
line 108:
p := '^\s*([-+]?[\d]*\.?[\d]+)\s*(<|>|<=|>=)\s*_\s*(<|>|<=|>=)\s*([-+]?
[\d]*\.?[\d]+)';
The three dot's should be replaced with references to the global variable
DecimalSeparator. Something like this:
line 72:
p := '^\s*_?\s*(<|>|<=|>=)\s*([-+]?[\d]*\' + DecimalSeparator + '?
[\d]+)';
line 108:
p := '^\s*([-+]?[\d]*\' + DecimalSeparator + '?[\d]+)\s*(<|>|<=|>=)\s*_
\s*(<|>|<=|>=)\s*([-+]?[\d]*\' + DecimalSeparator + '?[\d]+)';
regards,
-Vegar
Original issue reported on code.google.com by vegar%[email protected] on 27 Aug 2009 at 7:07
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
vegar%[email protected]
on 27 Aug 2009 at 7:07The text was updated successfully, but these errors were encountered: