MDL-44375 editor_tinymce: Fix regex to use same word counting rules as Moodle

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>