Allow pmatch to work with either pspell or enchant spell checking. #7559
Merge branch 'MOODLE_24_STABLE'