package regex
- Alphabetic
- By Inheritance
- regex
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- type CharClass = NumericRange[Char]
-
class
Match
extends Serializable
A match resulting from the application of a regular expression to a string.
A match resulting from the application of a regular expression to a string. This class gives access to matching subgroups, start and end position, and the matched substring. Matched group indexes are zero-based. Group index
0is the entire matching string -
class
Regex
extends Serializable
This class provides a way to create and use regular expressions.
This class provides a way to create and use regular expressions. The actual implementation depends on the imported backend. By default we provide a non backtracking implementation gnieh.regex.vm.BytecodeImpl and a TDFA implementation gnieh.regex.tdfa.TDfaImpl. See the documentation of each class for details about the supported features.
- trait RegexImpl extends AnyRef
Value Members
- object Match extends Serializable
- object Regex extends Serializable
-
object
automaton
The TDFA implementation of regular expression.
The TDFA implementation of regular expression. Import this object to use it.
-
object
bytecode
The non backtracking, VM implementation of regular expression.
The non backtracking, VM implementation of regular expression. Import this object to use it.
-
object
std
The standard library implementation.
Gnieh Tekstlib
Gnieh Tekstlib is a library grouping standard classes and packages allowing people to work with texts and documents.
Package Structure
gnieh.diffdiff manipulation,gnieh.hyphenhyphenation for text in any language,gnieh.stringstrings manipulation for text processing,gnieh.mustachelightweight mustache template engine,gnieh.pppretty printing related classes,gnieh.regexregular expressions manipulation.