iainhallam
I'm writing a substitution plugin that uses addSpecialPattern to match a complex syntax, but I'd like to provide a much simpler version that assumes defaults for a lot of options.
I was thinking of having a second addSpecialPattern in connectTo() to do this, but how do I tell which has been matched in my handle() method? The matches will need processing slightly differently to get to the correct state before I can pass on to render().