com.sapportals.wcm.util.regex
Class Pattern
java.lang.Object
com.sapportals.wcm.util.regex.Pattern
- public class Pattern
- extends Object
A compiled representation of a regular expression.
For documentation refer to the J2SE 1.4 Pattern class.
Copyright (c) SAP AG 2005
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CANON_EQ
public static int CANON_EQ
CASE_INSENSITIVE
public static int CASE_INSENSITIVE
COMMENTS
public static int COMMENTS
DOTALL
public static int DOTALL
MULTILINE
public static int MULTILINE
UNICODE_CASE
public static int UNICODE_CASE
UNIX_LINES
public static int UNIX_LINES
Pattern
public Pattern(String regex)
throws PatternSyntaxException
Pattern
public Pattern(String regex,
int flags)
throws PatternSyntaxException
compile
public static Pattern compile(String regex)
throws PatternSyntaxException
- Throws:
PatternSyntaxException
compile
public static Pattern compile(String regex,
int flags)
throws PatternSyntaxException
- Throws:
PatternSyntaxException
flags
public int flags()
matcher
public Matcher matcher(CharSequence input)
matcher
public Matcher matcher(String input)
matches
public static boolean matches(String regex,
CharSequence input)
throws PatternSyntaxException
- Throws:
PatternSyntaxException
pattern
public String pattern()
split
public String[] split(CharSequence input)
split
public String[] split(CharSequence input,
int limit)
getNativeMatcher
protected Object getNativeMatcher(String input)
Copyright 2006 SAP AG Complete Copyright Notice