Add regexp for Japanese and Korean nicknames.
Some IRC servers support unicode, and even for nicknames. The message handler receives an 'undefined' sender name if its name contains unicode characters.
I tried to add all non-special unicode characters, but I couldn't find any better ways than adding character range manually.
Also, I wander why there is a trailing '-' inside the [] block. Isn't '-' implies character ranges?
Sorry for some incomplete opinions. (This is my first time doing with js:)
And as per the RFC Nicknames can't start with numbers, only letters or special chars [which I'm not certain of which]
nickname = ( letter / special ) *8( letter / digit / special / "-" )
@leeopop turns out that "missing" dash is on the rfc ;)
+1 For this PR. If current IRC spec does not support CJK nicknames, why don't we at least opt-in this feature?
+1 for this PR.