Re: WELCOME to [email protected]

Sue Polyson Evans <[email protected]> Fri, 25 Apr 2003 11:51:25 -0400
Newsgroups gmane.comp.jakarta.oro.user
Message-ID <[email protected]>
Hello,
Here is my problem.  I'd appreciate any help.

I have the string:
src="some.gif" alt="some information" width="100"

I want to capture in a subgroup the value of whatever comes after src= and 
is contained within the first set of quotes.  In the example above, it 
would be some.gif

I am using the Perl5 contains with the expression:
src="(.*)"

which produces the result:
Match 1: src="some.gif" alt="some information" width="100"
     Subgroups:
     1: some.gif" alt="some information" width="100

Which isn't what I want.   I want only
     Subgroups:
     1: some.gif

Can anyone tell me what I'm doing wrong?

Again, thanks in advance for any help.

- Sue Evans
[email protected]