Martin
Martin
Actually, changing the regex a bit `^(?'A'(?:b[^bx]+(?&A)?x+))` https://regex101.com/r/wwuP8H/1 - Then in PCRE >= 7.3 the sub-call does back-tracking. - But in PCRE < 7.3 it does not. (As can be...
I would suggest to keep that as a reminder for an optional feature.
If it is ok, for now just keep the issue open. Needs more research how different engines handle it, and if there is documentation. Then maybe a property controlled behaviour:...
I only deducted from code review. But https://www.compart.com/de/unicode/U+10000 ` IsNotMatching('surrogat', '.+.', #$D800#$DC00);` fails (it will match). This is one char. so the `.+` should entirely consume it, and leave nothing...
Well, haven't checked background yet, but ``` // 69 ( // empty str expression: '^ *$'; inputText: ''; substitutionText: ''; expectedResult: ''; matchStart: 1 ``` fails for me => and...
`IsAnyLineBreak` could be changed to take a pointer to ReChar. Then it could return zero, or the length of any matched line break. That way it could handle utf-8 encoded...
> > Then it could return zero, or the length of any matched line break. > > do code need this really, if it works good already? only more complex...
> but is it needed that in non-Unicode mode we must find pure Unicode linebreak? we can ignore chr(85) in non-Unicode mode, logical. IMHO: Wrong Question. Utf8 is also a...
Just remove the IFDEF (for testing). Your intel/amd will not complain about the extra alignment.
Disclaimer: Someone with background on different CPU/arch should maybe double check some of my statements.... ---- Well, right now, with that define enabled, it will fail on all platforms. My...