Package com.codename1.util.regex
package com.codename1.util.regex
Regular expressions that are portable across all platforms.
Pattern and Matcher have the shape and the syntax of
java.util.regex, and StringRegex holds the regular expression methods
of java.lang.String over them. RE is the older, smaller evaluator with
its own dialect.
-
ClassDescriptionEncapsulates char[] as CharacterIteratorEncapsulates different types of character sources - String, InputStream, ...The same shape as
java.util.regex.Matcher, over this package'sPattern.What one match found: the same shape asjava.util.regex.MatchResult.java.util.regex.Patternfor the Codename One runtime: a backtracking matcher written for this module, with the JDK's syntax and the JDK's answers for the constructs it has.The same shape asjava.util.regex.PatternSyntaxException: a pattern that is not one, or that uses a construct this runtime does not have -- the description says which.RE is an efficient, lightweight regular expression evaluator/matcher class.Encapsulates java.io.Reader as CharacterIteratorA regular expression compiler class.A subclass of RECompiler which can dump a regular expression program for debugging purposes.A class that holds compiled regular expressions.Exception thrown to indicate a syntax error in a regular expression.This is a class that contains utility helper methods for this package.Encapsulates java.io.InputStream as CharacterIterator.Encapsulates String as CharacterIterator.The methods ofjava.lang.Stringthat take a regular expression, over this package'sPattern:matches,split,replaceAllandreplaceFirst, with the JDK's syntax.