created a regex version of shopping list function

experimented with two different ways of catching class names (1) using
standard JQuery selector (2) JQuery regex plugin.