Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #17546

Re: retriving escape unicode sequences from files ...

From "Arne Vajhøj" <arne.vajhøj@1:261/38.remove-k2r-this>
Subject Re: retriving escape unicode sequences from files ...
Message-ID <5023FE3E.56495.calajapr@time.synchro.net> (permalink)
Newsgroups comp.lang.java.programmer
References <5023FE3B.56480.calajapr@time.synchro.net>
Date 2012-08-09 18:44 +0000
Organization tds.net

Show all headers | View raw


  To: qwertmonkey
From: Arne Vajhoj <arne@vajhoej.dk>

On 8/8/2012 3:22 PM, qwertmonkey@syberianoutpost.ru wrote:
>   Also question for you, what is the difference between
> ~
>   Pattern UKdRegX = Pattern.compile("\\\\u([0-9a-f]{4})",
Pattern.CASE_INSENSITIVE);
> ~
>   and
> ~
>   private final Pattern UKdRegX = Pattern.compile("\\\\u([0-9A-Fa-f]{4})");

The first matches \U the last does not.

Arne

--- BBBS/Li6 v4.10 Dada-1
 * Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

retriving escape unicode sequences from files ... "qwertmonkey" <qwertmonkey@1:261/38.remove-k2r-this> - 2012-08-09 18:44 +0000
  Re: retriving escape unicode sequences from files ... "Arne Vajhøj" <arne.vajhøj@1:261/38.remove-k2r-this> - 2012-08-09 18:44 +0000

csiph-web