@guy038 said in Search++: A work in progress:
Is there any chance that you truncated the decimal part in Search ++ or something like that ?
No. I did not mess with the ICU search at all; the string entered in the Find box is exactly what ICU’s regular expression engine gets (aside from translating it to UTF-16, as ICU4C requires).
I see that \p{nv=0.3333333333333333} (or any greater number of 3s) returns six matches. Likewise, \p{nv=0.66666666666666667} returns seven matches, but fewer 6s returns none.
Since the ICU4C function u_getNumericValue(UChar32 c) returns a double, I would guess that matching is dependent on the precise quirks of double-precision floating point format.
In addition, the special value \p{Numeric_Value=NaN} should return 323,567, against my Total_chars.txt file, instead of the value 0 !
There might not be anything you can enter that will be translated as Not-a-Number. I note that \p{Numeric_Type=None} does return 323,567 matches.