Hi all,

I would like to find a way to see how many times the
pattern matches in my string and also see the part of
the string that does not match my pattern. For
instance, if my pattern is bo{1,2}b{1,2} and my string
is "boooboootbopbop", I'd like to know that there are
two instances of the pattern in my string and the
characters that did not match the pattern (i.e.,
what's left over after the match). Can anyone help?

Thanks, Scott


=====
Scott D. Spiegler
President
Innovative Technical Solutions
Pawtucket, RI 02861

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to