in reply to Enum Regex

Are the quoted values guaranteed not to have single quotes inside them? If so:

my @names = /'(.*?)'/g; If you do need to protect against embedded quotes, take a look at Text::Balanced.

Update: removed silly extraneous .*? at end of regexp.