Right. Then the entire method can easily be replaced with
*p.toLowerCase().trim().replaceAll("\\[bb\\]",
"b").replaceAll("[^a-z0-9]", "")*, I guess. (I attached the relevant patch
to DMAP-114 <https://issues.apache.org/jira/browse/DMAP-114>.)On Mon, Dec 29, 2014 at 4:14 PM, Reza Naghibi < [email protected]> wrote: > It's easiest to just remove it and see what happens. > > > > <div>-------- Original message --------</div><div>From: Volkan YAZICI < > [email protected]> </div><div>Date:12/29/2014 9:15 AM (GMT-05:00) > </div><div>To: [email protected] </div><div>Cc: > </div><div>Subject: replaceAll("\\[bb\\]", "b") in Device.normalize() > </div><div> > </div>Hi, > > What's the purpose of replaceAll("\\[bb\\]", "b") normalization in > Device.normalize() > < > http://svn.apache.org/repos/asf/devicemap/trunk/devicemap/java/classifier/src/main/java/org/apache/devicemap/data/Pattern.java > > > ? > > Best. >
