java.util.regex

  • The java.util.regex package provides classes for working with regular expressions, including Matcher for performing match operations and Pattern for compiling regular expressions.

  • MatchResult represents the result of a match operation, while PatternSyntaxException is thrown for syntax errors in regular expression patterns.

  • J2ObjC has modified the Matcher class to remove synchronizations, originally present in Android to prevent crashes from incorrect concurrent use.

Interfaces

MatchResult The result of a match operation. 

Classes

Matcher J2ObjC modified: Synchronizations are removed because they were added in the Android sources to safeguard against hard-to-debug crashes from incorrect concurrent use of this class. 
Pattern A compiled representation of a regular expression. 

Exceptions

PatternSyntaxException Unchecked exception thrown to indicate a syntax error in a regular-expression pattern.