Re: pattern matching problems 2

2003-03-06 Thread R. Joseph Newton
Francesco del Vecchio wrote: > Maybe I can explain better showing you the real problem. > > I have an HTML form and I'm parsing it looking for tags > > When I find one I need to catch the "ACTION" value. > > i.e. > > http://www.somedomain.com method=post> > > I need to catch "http://www.somedomai

Re: pattern matching problems 2

2003-03-06 Thread Rob Dixon
Francesco Del Vecchio wrote: > Maybe I can explain better showing you the real problem. > > I have an HTML form and I'm parsing it looking for tags > > When I find one I need to catch the "ACTION" value. > > i.e. > > http://www.somedomain.com method=post> > > I need to catch "http://www.somedomain

Re: pattern matching problems 2

2003-03-06 Thread Francesco del Vecchio
Maybe I can explain better showing you the real problem. I have an HTML form and I'm parsing it looking for tags When I find one I need to catch the "ACTION" value. i.e. http://www.somedomain.com method=post> I need to catch "http://www.somedomain.com";. Obiouvsly the "method" can also not t

Re: pattern matching problems 2

2003-03-06 Thread Rob Dixon
Francesco Del Vecchio wrote: > > String " bb=somestuff someotherstuff" > > I don't know what "somestuff" and "someotherstuff" are...I only know > that they are two words separed by a space. > > How can I extract 'somestuff' from the string? Hi Francesco . It depends how you want to define wh

pattern matching problems 2

2003-03-06 Thread Francesco del Vecchio
Here I am again ^_^ thanks a lot for the previous answers...they solved my problem. I have another problem of the same kind...let me explain: = String " bb=somestuff someotherstuff" I don't know what "somestuff" and "someotherstuff" are...I only kn