fix bug - different number of groups for chan vs. nick highlighting
match base format with ^ and $ markers

This gives more exact matching but now means the trailing \n is not
included in the match