Regex matching operator from ~= to =~

Regex matching operator changed from ~= to =~ to preserve the standard,
pattern matching, ~=.