That's a task for Regexp::Common.
Abigailuse Regexp::Common; print "$3\n" while 'type="car" of make="Ford" color="red"' =~ /$RE{delimited}{-delim => '"'}{-keep}/g; __END__ car Ford red
In reply to Re: Splitting on double quotes
by Abigail-II
in thread Splitting on double quotes
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |