OOps. Fixed invalid regex.
This commit is contained in:
1 parent
cfaaa9f421
commit
33d1de2e13
1 file changed
+1
-1
@@ -57,7 +57,7 @@ public class AREntityType extends ARAbstractSelect<EntityType>
|
|||||||
|
|
||||||
public static String getComparable(String string)
|
public static String getComparable(String string)
|
||||||
{
|
{
|
||||||
return string.toLowerCase().replaceAll("[_-\\s]+", "");
|
return string.toLowerCase().replaceAll("[_\\-\\s]+", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user