M
Mr P
It *seems like* any character other than "]" or "\", or in some cases
"-", in a character class, would be interpreted "in-situ", as that
exact character. But I get confusing error messages so often, that I
usual just revert to a policy of "backslash everything" when in-doubt.
I would appreciate a (hopefully one-sentance so I can remember it)
guide/rule on what/when to backslash within character classes?
[\$\#\@\*\=\-\)]
or
[$#Q*=-)]
?
Sort of along the lines of : AIEOU and sometimes Y and W (is there
really a case when W is a vowel I never did see one, but I digress)..
Gracias,
MP
"-", in a character class, would be interpreted "in-situ", as that
exact character. But I get confusing error messages so often, that I
usual just revert to a policy of "backslash everything" when in-doubt.
I would appreciate a (hopefully one-sentance so I can remember it)
guide/rule on what/when to backslash within character classes?
[\$\#\@\*\=\-\)]
or
[$#Q*=-)]
?
Sort of along the lines of : AIEOU and sometimes Y and W (is there
really a case when W is a vowel I never did see one, but I digress)..
Gracias,
MP