
Hi,
Can someone point me to a tutorial like page that goes over how to create specific types of DynamicLexicalPatterns? I've done a ton of stuff with the grammer and the lexer, but really need to create something specific, and don't quite understand how it works.
Right now if I want to add something like a keyword, I can add something like this:
lexicalPatternGroup.Patterns.Add(new DynamicLexicalPattern("FROM"));
While the default Identifier pattern looks something like this:
lexicalPatternGroup.Patterns.Add(new DynamicLexicalPattern("(_ | {Alpha})({Word})*"));
What I need to know is how the pattern works, because it looks like it almost follows a regex style format, but not totally. I need to create a patter that would match something like this:
"AnyWordOrNumber.AnyWordOrNumber" - With the period in the middle.
Thanks,
Ryan