Submatch and backreference working together now