object BytecodeImpl extends RegexImpl with Serializable
This class provides a way to create and use regular expressions. It is a non backtracking implementation based on the descrition from [Russ Cox](http://swtch.com/~rsc/regexp/). Following regular expressions are supported:
.any character, possibly including newline (s=true)[xyz]character class[^xyz]negated character class\da digit character (equivalent to[0-9])\Da non digit character (equivalent to[^0-9])\wan alphanumeric character (equivalent to[A-Za-z0-9_])\Wa non alphanumeric character (equivalent to[^A-Za-z0-9_])\sa space character (equivalent to[ \t\r\n\f])\Sa non space character (equivalent to[^ \t\r\n\f])xyxfollowed byyx|yxory(preferx)x*zero or morex(prefer more)x+one or morex(prefer more)x?zero or onex(prefer one)x*?zero or morex(prefer zero)x+?one or morex(prefer one)x??zero or onex(prefer zero)(re)numbered capturing group (starting at 1)re{min,max}bounded repetition (minandmaxare integers)re{min}bounded repetition (minis an integer)^start of input anchor$end of input anchor
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BytecodeImpl
- Serializable
- Serializable
- RegexImpl
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
Compiled = Vector[Inst]
- Definition Classes
- BytecodeImpl → RegexImpl
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
compile(re: ReNode): (Int, Vector[Inst])
- Definition Classes
- BytecodeImpl → RegexImpl
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
exec(compiled: Vector[Inst], nbSaved: Int, startIdx: Int, string: String): (Int, Int, Vector[Int])
- Definition Classes
- BytecodeImpl → RegexImpl
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
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.