tenderlove/rails_autolink — pull request #11 by jamis (2012-04-27 20:44:37+00:00)
Title: Play nicely with non-latin characters in autolinked urls

Given a URL that includes trailing non-latin word characters, those characters will be stripped off by the current implementation, because they do not match "\w".

This pull request uses "\p{Word}" instead of "\w" so that all unicode word characters will match, and will be preserved in the autolinked URL.