A small refactoring.
Added a test for lexical_relative_numbered_backreferences. (now failing)
A small refactoring.
Optimized a bit of code.