CharGroup

laika.parse.text.CharGroup$
object CharGroup

Common groups of characters as input for parser definitions.

These groups are all in the ASCII range. For dealing with the entire unicode range you can use the generic anyWhile parser that accepts a Char => Boolean predicate.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
CharGroup.type

Members list

Value members

Concrete fields

val alpha: Type[Char]

All letters in the ASCII range (a to z, A to Z).

All letters in the ASCII range (a to z, A to Z).

Attributes

val alphaNum: Type[Char]

All letters and digits in the ASCII range (a to z, A to Z, 0 to 9).

All letters and digits in the ASCII range (a to z, A to Z, 0 to 9).

Attributes

val digit: Type[Char]

All decimal digits (0 to 9).

All decimal digits (0 to 9).

Attributes

val hexDigit: Type[Char]

All hexadecimal digits (0 to 9, a to f, A to F).

All hexadecimal digits (0 to 9, a to f, A to F).

Attributes

val lowerAlpha: Type[Char]

All lower-case letters in the ASCII range (a to z).

All lower-case letters in the ASCII range (a to z).

Attributes

val octalDigit: Type[Char]

All octal digits (0 to 7).

All octal digits (0 to 7).

Attributes

val upperAlpha: Type[Char]

All upper-case letters in the ASCII range (A to Z).

All upper-case letters in the ASCII range (A to Z).

Attributes