in reply to Re: Swish module (was Re: Re: Optimizing regular expressions)
in thread Optimizing regular expressions

Ah, I understand your request now. That will take a bit of finessing to achieve. And those linebreaks that you say should not be there SHOULD be there, since that is where newlines existed in the data stream.

japhy -- Perl and Regex Hacker
  • Comment on Re: Re: Swish module (was Re: Re: Optimizing regular expressions)

Replies are listed 'Best First'.
Re: Re: Re: Swish module (was Re: Re: Optimizing regular expressions)
by Anonymous Monk on Jun 10, 2001 at 17:25 UTC
    I wasn't pointing at the newlines, sorry, but rather the dot, dot, dot break in the sentense. The dots are between adjacent words.

    It like searching for the word "the" above and displaying:

    ...pointing at the newlines, sorry,...but rather the, dot, dot,....

    The "..." is replacing only white space in that case.

    It's tricky to code