Perl regular expression help!

Hi I am doing something basic like...

if ($stringvariable =~ /have not typed/)

I have a little problem because the 'not' in the expression gets highlighted as a kind of a '!'..what am I supposed to do in this situation?

Thank you

---------- Post updated at 03:24 PM ---------- Previous update was at 03:10 PM ----------

basically I am asking if the 'not' is going to give me problems when comparing ?

Thanks in advance

You mean it's getting highlighted in the editor? If so, that's not a problem, it's just a visual aid by the editor to help you discern functions, variables, ... None of these highlights get saved with the file.

1 Like