/* Generated by re2d */
// re2d $INPUT -o $OUTPUT -i
module main;

private bool lex(const(char)* yycursor) {
    
{
    char yych;
    yych = *yycursor;
    switch (yych) {
        case '1': .. case '9': goto yy2;
        default: goto yy1;
    }
yy1:
    ++yycursor;
    { return false; }
yy2:
    yych = *++yycursor;
    switch (yych) {
        case '0': .. case '9': goto yy2;
        default: goto yy3;
    }
yy3:
    { return true; }
}

}

void main() {
    assert(lex("1234"));
}
