Problem with the PCRE engine,
does not search for some Unicode.
regex:[^\x{200B}]
I would ask for a compatible Regex for Everything (PCRE), for Boost.Regex and .NET Regex
Problem with the PCRE engine, does not search for some Unicode (HTML, SCRIPT).
Re: Problem with the PCRE engine, does not search for some Unicode (HTML, SCRIPT).
You are searching for all characters except 200B (Unicode Character 'ZERO WIDTH SPACE'). Its what everything did. (NOT 200B).
Last edited by vanisk on Fri Mar 22, 2019 6:03 pm, edited 1 time in total.
Re: Problem with the PCRE engine, does not search for some Unicode (HTML, SCRIPT).
Ah, remove ^
But why does not this work in the Emeditor?
Cannot Find:
Test:
[\x{200B}]
\x{200B}
\x{8203}
But why does not this work in the Emeditor?
Cannot Find:
Test:
[\x{200B}]
\x{200B}
\x{8203}
Re: Problem with the PCRE engine, does not search for some Unicode (HTML, SCRIPT).
\x{200B} working fine for me in Notepad++ and in EmEditor
Re: Problem with the PCRE engine, does not search for some Unicode (HTML, SCRIPT).
As 200B is invisible character, even if EmEditor/Notepad++/others finds it and moves cursor to the position, We may not see the cursor.
So try this
.\x{200B}.
It will find 3 characters (but shows 2 characters) and the middle character is ZWSP. So you know where the Zerowidth Space is.
(NB:Tried with Notepad++ and EmEditor and it works)
So try this
.\x{200B}.
It will find 3 characters (but shows 2 characters) and the middle character is ZWSP. So you know where the Zerowidth Space is.
(NB:Tried with Notepad++ and EmEditor and it works)
Re: Problem with the PCRE engine, does not search for some Unicode (HTML, SCRIPT).
Glad it worked. But it will not work if the ZWSP is in the beginning or at the end of line.Debugger wrote: ↑Fri Mar 22, 2019 11:32 amBig thanks, now it worksCode: Select all
.\x{200B}.
https://postimg.cc/bdRM9xcV
Re: Problem with the PCRE engine, does not search for some Unicode (HTML, SCRIPT).
I checked it, it works for mebeginning or at the end of line.