public final class Escape extends RegExp
Modifier and Type | Method and Description |
---|---|
static RegExp |
get(String esc)
Creates a regular expression from the given escape sequence.
|
static char |
getCp(String single)
Gets the character escaped by the given single escape.
|
static RegExp[] |
inGroup(String esc)
Translates the given escape into character ranges if possible.
|
public static RegExp get(String esc)
esc
- escape sequencepublic static char getCp(String single)
single
- single-char escape sequenceCopyright © 2005–2015 BaseX Team. All rights reserved.