I'm trying to use the Regex Range of [\x7F-\xFF], but it does not appear to work. I can find some characters in the range, but not everything.
Here are two specifics.
I cannot find the left single quote (‘).
ALT-0145 on the keyboard.
I can find the latin small letter y with diaeresis (ÿ).
ALT-0255 on the keyboard.
\xFF works.
\x91 does not work.
This is perplexing me.
[\x7F-\xFF] does not appear to work
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
[\x7F-\xFF] does not appear to work
(2[Bb]|[^2].|.[^Bb])
That is the question.
That is the question.
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
Internally, TextPad stores characters with their Unicode values.
In the Windows Latin-1 (CP 1525) character set the character LEFT SINGLE QUOTATION MARK has the value \x91. But in Unicode (and ISO 8859-1) the characters with values in the range \x80..\x9F are control codes, not printable characters. In Unicode the value of LEFT SINGLE QUOTATION MARK is U+2018. You can search for it using [\x{2018}].
You can search for all characters with Unicode values \x7F and above with [\x7F-\x{FFFF}].
In the Windows Latin-1 (CP 1525) character set the character LEFT SINGLE QUOTATION MARK has the value \x91. But in Unicode (and ISO 8859-1) the characters with values in the range \x80..\x9F are control codes, not printable characters. In Unicode the value of LEFT SINGLE QUOTATION MARK is U+2018. You can search for it using [\x{2018}].
You can search for all characters with Unicode values \x7F and above with [\x7F-\x{FFFF}].