Expose props necessary for XRegExp in translators

Not sure if this is the best way to handle this though.