Parse record patterns.