Use rx instead of regexp-opt