You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while trying to set two differently colored highlights for my nickname,
depending on if it's the first word in the line or not,
I observed the following.
(as using a random word had the same results, I'll use the string "aaa" here)
If "aaa" is at the beginning of a line (eg aaa is this),
there is a magenta colored highlight,
both in the status bar and in the channel where "aaa" was written.
If "aaa" is somewhere else than the beginning of line (eg this is aaa),
both highlights happen in green.
Actual behaviour:
If "aaa" is at the beginning of a line (eg aaa is this),
there is a magenta colored highlight in the channel where "aaa" was written,
but the highlight in the status bar is green.
If "aaa" is somewhere else than the beginning of line (eg this is aaa),
both highlights happen in green as expected.
If /hilight -actcolor %M -color %M -regexp ^aaa
is used alone, the coloring is as expected,
so the two commands seem to interfere with each other;
though not sure how, because if one command just would falsely match both cases, I'd expect both colors being wrong.
The text was updated successfully, but these errors were encountered:
just a bit of extra info, but if you set the nick to no and just ask it to hilight the word itself(aaa in our example), then irssi will always match aaa both at the start or end as green. we never see magenta.
Hi,
while trying to set two differently colored highlights for my nickname,
depending on if it's the first word in the line or not,
I observed the following.
(as using a random word had the same results, I'll use the string "aaa" here)
Commands used:
/hilight -actcolor %G -color %G -regexp (?!^)aaa
/hilight -actcolor %M -color %M -regexp ^aaa
Expected behaviour:
there is a magenta colored highlight,
both in the status bar and in the channel where "aaa" was written.
both highlights happen in green.
Actual behaviour:
there is a magenta colored highlight in the channel where "aaa" was written,
but the highlight in the status bar is green.
both highlights happen in green as expected.
If /hilight -actcolor %M -color %M -regexp ^aaa
is used alone, the coloring is as expected,
so the two commands seem to interfere with each other;
though not sure how, because if one command just would falsely match both cases, I'd expect both colors being wrong.
The text was updated successfully, but these errors were encountered: