in reply to Re: Likely trivial regex question
in thread Likely trivial regex question

Sorry, the example might have been suboptimal. The "juice" part is never to be captured.

The string will either contains a vodka=xx part or not. If it is there I the regex like to capture it in $2 and $3. If it isn't there I would like the regex to match (say "matches) and give "unitialized" for $2,$3 but still capture $1 and $4.