Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue #8 Accented characters were converting to upper case when c…
…apitalize modifier is used. \W is Matches any character that is not a word character from the basic Latin alphabet. Equivalent to [^A-Za-z0-9_]. Support for internationalization in JavaScript's RegExp is virtually nonexistent. Convert \W to its equivalent with including accented chars Reference: http://compgroups.net/comp.lang.javascript/regex-with-accents/190205 http://stackoverflow.com/questions/5436824/matching-accented-characters-with-javascript-regexes https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/RegExp#character-sets Issue raised: #8
- Loading branch information