> Could you kindly explain to me about the @ character and why it needs to be > escaped, or in what conditions it needs to be escaped? Eg. you seem to imply > that it only needs to be escaped if followed by an alphabetic character. Is
It seems to be a Perl thing, if it sees @name in a regex it seems to be taking 'name' as a variable name or macro name or some such. Can lead to some really strange and hard to diagonose lint errors, or sometimes to a regex that just doesn't hit on anything. I'm not absolutely sure what @name in a regex really means to perl, but it seems to not be what I usually expect. Escaping the @ ends up producing the right results. Loren