Talk:The OU PMatch algorithm
From MoodleDocs
word dividers default
I don't understand why it default to \s, not \W. PCRE word breaking assertions use \W to find word break.--Oleg Sychev 20:31, 12 December 2010 (UTC)
- Mainly because that is backwards compatible with the previous implementation of Pmatch. And pmatch has evolved over the years based on what is most useful. Anyway, that is only a default.