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:
parent
f5b5b99adb
commit
3708a9c60c
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user