Package org.basex.query.util.regex
Class Literal
- java.lang.Object
-
- org.basex.query.util.regex.RegExp
-
- org.basex.query.util.regex.Literal
-
public final class Literal extends RegExp
A character literal.- Author:
- BaseX Team 2005-24, BSD License, Leo Woerteler
-
-
Constructor Summary
Constructors Constructor Description Literal(int codepoint)
Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
escape(int cp)
Escapes the given code point for a regular expression.
-
-
-
Method Detail
-
escape
public static String escape(int cp)
Escapes the given code point for a regular expression.- Parameters:
cp
- code point- Returns:
- string representation
-
-