cocodelabs / znc-palaver

ZNC module for push notifications
MIT License
112 stars 14 forks source link

regex error on username bphogan #37

Closed napcs closed 8 years ago

napcs commented 8 years ago

ZNC version: 1.6.3

Palaver bouncer version: master (https://github.com/cocodelabs/znc-palaver/commit/5158caf09ab08eb5244b86fbcc37db8a33ea99d2)

When anyone mentions my username in my channel using Colloquy, KiwiIRC (web client) or official Freenode web client, the highlighting fails:

[2016-04-30 16:21:56.725604] (bphogan/default) IRC -> ZNC [:iain_pc!~iain_pc@68-117-128-34.dhcp.mdsn.wi.charter.com PRIVMSG ##bphogan_office_hours :bphogan: hi there]
[2016-04-30 16:21:56.725747] Caught regex error '2' from '\.bbphogan\.b'.
[2016-04-30 16:21:56.725814] Caught regex error '2' from '\.bbphogan\.b'.

Test messages make it to the device with no issues. Private messages make it just fine. All clients are away.

I have spent 3 days debugging network issues. Any help you could give would be fantastic. I don't know CPP well at all but would be happy to help debug things.

napcs commented 8 years ago

Update - solved it on my end.

Had to update GCC to 4.9 and recompile. 4.8 doesn't have great support for regex.