record pattern match source links