Robert-Egan Something being a private regexp, i.e. prefixed with #
actually means that it is only used as a macro basically, to build up more complex regexp's.
Actually, it would probably be a good idea if there was a warning when you had such a "private" regexp that is not used anywhere, i.e. as a building block in another regexp. But currently there is no such warning.
As for what SKIP
means, that just means that it matches the pattern but does not roll up a Token object from it. The input that matches the pattern is skipped basically. UNPARSED
means that it does roll up a token object but it is ignored in terms of the syntactic grammar. In practice, SKIP
is usually used for ignorable whitespace, while UNPARSED
is used for comments. Typically anyway...
Anyway, don't be shy about asking questions.