Set the correct position of match when regex is used. Use correct offset in SelectMany operator.