That will capture all the non-quote characters in between two quote characters./foo="([^"]+)"/
I think what you are looking for is assertions. See perlre and the tutorial Using Look-ahead and Look-behind.
Cheers - L~R
In reply to Re: string selection from a character class
by Limbic~Region
in thread string selection from a character class
by karden
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |