http://qs1969.pair.com?node_id=323940


in reply to regexp operator -- same mistake over and over again

Best way to remember the order is to remember the order for NOT matching, ie !~ You never have a NOT exclamation point which is not at the start of the operator. Of that you can be sure. So, the matching operator must be =~ rather than ~=