1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2025-01-08 20:28:31 -05:00

Small modification to the nick matching regular expression.

This commit is contained in:
liato 2010-11-17 02:53:08 +01:00
parent f5b5b99adb
commit 3708a9c60c

View File

@ -1137,6 +1137,6 @@ public class IRCConnection extends PircBot
* Update the nick matching pattern, should be called when the nickname changes.
*/
private void updateNickMatchPattern() {
mNickMatch = Pattern.compile("(?:^|[\\s?:;,.])"+Pattern.quote(getNick())+"(?:[\\s?:;,.]|$)", Pattern.CASE_INSENSITIVE);
mNickMatch = Pattern.compile("(?:^|[\\s?!'´:;,.])"+Pattern.quote(getNick())+"(?:[\\s?!'´:;,.]|$)", Pattern.CASE_INSENSITIVE);
}
}