Fixed submatch capture failure