ICU4C is the C-language library, you need to use ICU4J. I believe you can download the jar here: http://site.icu-project.org/
You can also do most types of RegEx tests using the Pattern and Matcher classes like so: private boolean validEmail(String email) { String emailPattern = "^[\\w\\.-]+@([\\w\\-]+\\.)+[A-Z]{2,4}$"; Pattern pattern = Pattern.compile(emailPattern,Pattern.CASE_INSENSITIVE); Matcher matcher = pattern.matcher(email); return matcher.matches(); } On Aug 25, 5:25 am, Mark Carter <mjc1...@googlemail.com> wrote: > I have read that Android uses ICU4C to support regular expressions. > > Does this mean that the java.util.regex.Pattern class uses ICU4C under the > hood? If so, why does \U0002A700-\U0002B73F (or similar \U expressions) not > work? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en