charRange

Represents a range of chars, from begin to end, included. So charRange!('a','z') matches all English lowercase letters. If fails if the input is empty or does not begin with a character between begin and end.

If begin == end, it will match one char (begin... or end).

begin > end is non-legal.

  1. ParseTree charRange(ParseTree p)
    template charRange(dchar begin, dchar end)
    if (
    begin <= end
    )
  2. ParseTree charRange(string input)
  3. string charRange(GetName g)

Members

Functions

charRange
ParseTree charRange(ParseTree p)
Undocumented in source. Be warned that the author may not have intended to support it.
charRange
string charRange(GetName g)
Undocumented in source. Be warned that the author may not have intended to support it.
charRange
ParseTree charRange(string input)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

name
enum name;
Undocumented in source.

Meta