fix for safari
fix for safari

Cannot supply flags when constructing one RegExp from another.

sukuba/js-py-ngram-full-text-search,sukuba/js-py-ngram-full-text-search,sukuba/js-py-ngram-full-text-search