"But is there some reason you couldn't have answered this yourself... or at least satisfied yourself that your code does or does not work?"
in reply to regular expression inverse match NOT match?
Firstly, thx for reply. It not work because just something wrong with my logic. Now I know the correct syntax, should be !~ but not !=~
furthermore want to ask, if I got keyword
AB CDE #don't know number of space between
AB CDE #5 space =~ /AB.....CDE/
AB CDE #7 space =~ /AB.......CDE/
If I do NOT know number of space between AB and CDE
what symbol should I use in this case? thank you!