cgiffard / TextStatistics.js

Generate information about text including syllable counts and Flesch-Kincaid, Gunning-Fog, Coleman-Liau, SMOG and Automated Readability scores.
MIT License
191 stars 37 forks source link

Shouldn't a lot of these regex be greedy? #8

Closed MadeByMike closed 8 years ago

MadeByMike commented 9 years ago

Hmmm... Tag replacing only replaces the first tag as well :( this could be the source of the syllablecount problem too...