on *:text:.&:#: echo -a matched $matchkey

Doesn't work when I test with ".test" for example (without the quotes obviously), whilst there's no reason for it not to.

For those who don't, know, & matches a "word", therefore .& should match a dot followed directly by a word, in my test case, . followed by the word "test".

Putting .* as matchtext is not the same, since * matches any string, whereas I'd like it to match only one word, like ".test"

I could imagine that since & matches "word" you are supposed to use it in the matchtext delimited by spaces, but I don't agree with that.

Obviously, I'm aware of "work-arounds" like using regex matchtext or parsing within the event body, but that's not important, imo & should match a word (a string that doesn't contain spaces aka a sequence of non-space characters) even when you have characters touching it in the matchtext part.


Gone.