Might be worthwhile to declare the RegExp outside the `.each` scope