private char MatchTerminalRange(char start, char end, out bool success)
{
success = false;
if (Input.HasInput(position))
{
char symbol = Input.GetInputSymbol(position);
if (start <= symbol && symbol <= end)
{
position++;
success = true;
}
return symbol;
}
return default(char);
}