I can replace it with a method to add extra regex instead of attributes if needed.