Add ability to pass alternative forms of input into invocations
Add test for GH #276
Don't highlight subcaptures if the enclosing group matches
Test that adjacent capture groups are correctly highlighted