Package | Description |
---|---|
org.basex.query.util.regex | |
org.basex.query.util.regex.parse |
This module contains
JavaCC -generated classes for parsing XSD regular
expressions. |
Modifier and Type | Class and Description |
---|---|
class |
BackRef
Back-reference.
|
class |
Branch
A branch of a regular expression.
|
class |
CharClass
A character class.
|
class |
CharGroup
Character group.
|
class |
CharRange
A character range.
|
class |
Disjunction
A disjunction of branches.
|
class |
Escape
Escape sequence.
|
class |
Group
A parenthesized group.
|
class |
LineBorder
Line start (
^ ) or line end ($ ). |
class |
Literal
A character literal.
|
class |
Piece
An atom together with a quantifier.
|
class |
Quantifier
A quantifier, like
? |
class |
Wildcard
Wildcard for any character (
. ). |
Modifier and Type | Method and Description |
---|---|
RegExp[] |
RegExpList.finish()
Returns an array with all elements and invalidates the internal array.
|
RegExp |
RegExpList.get(int p)
Returns the specified element.
|
static RegExp |
Escape.get(String esc)
Creates a regular expression from the given escape sequence.
|
static RegExp[] |
Escape.inGroup(String esc)
Translates the given escape into character ranges if possible.
|
Modifier and Type | Method and Description |
---|---|
RegExpList |
RegExpList.add(RegExp element)
Adds an element to the array.
|
Constructor and Description |
---|
Branch(RegExp[] pieces)
Constructor.
|
CharGroup(RegExp[] subs)
Constructor.
|
Disjunction(RegExp[] branches)
Constructor.
|
Group(RegExp encl,
boolean capture)
Constructor.
|
Piece(RegExp atom,
Quantifier quant)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
RegExp |
RegExParser.atom()
Parses the "atom" rule.
|
RegExp |
RegExParser.branch()
Parses the "branch" rule.
|
RegExp |
RegExParser.charClass()
Parses the "charClass" rule.
|
RegExp |
RegExParser.charClassEsc()
Parses the "charClassEsc" rule.
|
RegExp |
RegExParser.charRange()
Parses the "charRange" rule.
|
RegExp |
RegExParser.parse()
Root production.
|
RegExp |
RegExParser.regExp()
Parses the "regExp" rule.
|
Copyright © 2005–2015 BaseX Team. All rights reserved.