Make Primo production system the default.
Fix unsafe Regexp.