regex: Allow to configure global/default options for regexes. Like caseless matching or extended format, which may be useful as default behaviour the whole configuration.