fix delimiter part of regexp modifier sniff; fixes #7