Author: mr.heat
Description:
The following example counts 42 words. But I count 40 words.
I think the current count searches for words made of the letters a to z. Because of this a German word like "schönen" is counted as two words.
The best solution would be to use \p{L} instead of \w or [a-z] in the regular expression. Please note that this does not work in JavaScript.
http://www.regular-expressions.info/unicode.html
Version: master
Severity: minor