[try to write a regexp_trait