Need to supply Regexp to sub method