in reply to Re: Re: Abusing Regular Expressions
in thread Abusing Regular Expressions

Maybe need was the wrong word. I'm convinced it will be easier than building my own backtracking machine.

Oh, it's probably easier than building your own backtracking machine. However, I'm not at all convinced you need backtracking to parse XML Schema. Heck, even Perl is parsable without backtracking - it's parsed by yacc, which uses limited lookahead. But then, I don't know too much about XML schema, so I might be wrong.

Abigail

Replies are listed 'Best First'.
Re: Re: Abusing Regular Expressions
by samtregar (Abbot) on Sep 27, 2003 at 15:23 UTC
    However, I'm not at all convinced you need backtracking to parse XML Schema.

    Oh, I'm not planning to use this to parse XML Schema. Parsing XML Schema is easily done with a run-of-the-mill XML parser. I'm writing the part of the code that uses the schema description to validate a document. XML Schema is basically a low grade programming language and I'm writing the interpreter.

    -sam