|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.regex.RegExp
org.basex.query.regex.Escape
public final class Escape
Escape sequence.
Method Summary | |
---|---|
static char[] |
escape(int cp)
Escapes code points for use in character ranges. |
static RegExp |
get(java.lang.String esc)
Creates a regular expression from the given escape sequence. |
static char |
getCp(java.lang.String single)
Gets the character escaped by the given single escape. |
static RegExp[] |
inGroup(java.lang.String esc)
Translates the given escape into character ranges if possible. |
Methods inherited from class org.basex.query.regex.RegExp |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static RegExp get(java.lang.String esc)
esc
- escape sequence
public static char getCp(java.lang.String single)
single
- single-char escape sequence
public static RegExp[] inGroup(java.lang.String esc)
esc
- escape sequence
public static char[] escape(int cp)
cp
- code point
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |