Java Regular Expression Statement
(Redirected from Java Regular Expression)
Jump to navigation
Jump to search
A Java Regular Expression Statement is a regular string expression statement that is a Java statement.
References
2010
- http://docs.oracle.com/javase/1.4.2/docs/api/java/util/regex/Pattern.html
- QUOTE: A compiled representation of a regular expression. A regular expression, specified as a string, must first be compiled into an instance of this class. The resulting pattern can then be used to create a Matcher object that can match arbitrary character sequences against the regular expression. All of the state involved in performing a match resides in the matcher, so many matchers can share the same pattern. A typical invocation sequence is thus:
Pattern p = Pattern.compile("a*b");
Matcher m = p.matcher("aaaaab");
boolean b = m.matches();
- QUOTE: A compiled representation of a regular expression. A regular expression, specified as a string, must first be compiled into an instance of this class. The resulting pattern can then be used to create a Matcher object that can match arbitrary character sequences against the regular expression. All of the state involved in performing a match resides in the matcher, so many matchers can share the same pattern. A typical invocation sequence is thus:
2002
- http://java.sun.com/developer/technicalArticles/releases/1.4regex/
- A regular expression is a pattern of characters that describes a set of strings.