there is `regexp_obj.pattern` attribute with pattern as text - what do you think about keeping this doctest?