use =~ for regex match operator instead of ^=

re: #1 https://github.com/robrobbins/specford/issues/1