fix Issue 11769 - Wrong line number in "matches both" error message
Merge pull request #2988 from 9rnsr/fix11769

Issue 11769 - Wrong line number in "matches both" error message