Re: regex for chars 192 to 255
- From: "John" <john1949@xxxxxxxxx>
- Date: Fri, 29 Feb 2008 18:22:50 -0000
"Jürgen Exner" <jurgenex@xxxxxxxxxxx> wrote in message
news:65sfs3tvuhbcgggibo97325hh3hg9elv3f@xxxxxxxxxx
"John" <john1949@xxxxxxxxx> wrote:
Is there a character class like [a-zA-Z] for accented characters that lie
between ASCII 192 and 255 (excluding 215 and 247)?
No, because there are no such characters. ASCII is a 7-bit encoding and
the
largest possible code point is 127 (0x7f).
If not, what is the easiest way to match those, other that specifying them
indvidually?
In whatever encoding you are using (obviously not ASCII) have you tried
specifying ranges like e.g. [\0xC0-\0xFF]?
This will get you the code points although what characters are encoded in
those code points will be very different depending upon the actual
encoding
used.
jue
Many thanks, gentlemen. That's the solution I was after.
Regards
John
.
- References:
- regex for chars 192 to 255
- From: John
- Re: regex for chars 192 to 255
- From: Jürgen Exner
- regex for chars 192 to 255
- Prev by Date: Re: Generate an associative array from a file
- Next by Date: every(seconds => 4)
- Previous by thread: Re: regex for chars 192 to 255
- Next by thread: Secure FTP
- Index(es):
Relevant Pages
|
|