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

here are a couple

Interesting. Both those examples show ways to use the regex engine to solve problems by creating a regex and then matching it against an empty string just to get the ball rolling. I think my problem will more likely result in a solution like:

  1. Transform schema into a regular expression which will match a correct set of nodes.
  2. Transform document stream into a delimited string form of some kind.
  3. Match schema regex from 1. against string from 2. If the match fails then the document is invalid.

Can you remember seeing anything like that?

Super Search will undoubtedly turn up more

I did try SuperSearch before posting but I didn't find anything useful. What would you suggest I use for search terms?

-sam