Do not set this as an attribute
Factor out regexp processing to separate method