A simple module that knows how to build a regexp with or without flags without using eval.