1-858-676-2277 x2152
> -Original Message-
> From: Rob Dixon [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 18, 2003 1:52 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Removing what was matched
>
>
> David Olbersen wrote:
> > I'm trying to move over a strin
David Olbersen wrote:
> I'm trying to move over a string and match two types of patterns,
> call them A and B. B always matches A, and A never matches B.
>
> To work this out I decided that once I matched A on my input string,
> it would be a good idea to remove what I matched from the string.
>
>
-
> From: David Olbersen
> Sent: Tuesday, March 18, 2003 1:25 PM
> To: [EMAIL PROTECTED]
> Subject: Removing what was matched
>
>
> I'm trying to move over a string and match two types of
> patterns, call them A and B. B always matches A, and A never
> matches B.
&
I'm trying to move over a string and match two types of patterns, call them A and B. B
always matches A, and A never matches B.
To work this out I decided that once I matched A on my input string, it would be a
good idea to remove what I matched from the string.
As a trivial example, I do this: