--- In [email protected], "Owen Watson" <[EMAIL PROTECTED]> wrote:
>
> You were right, as usual. Using the old regex implementation
> textIn[?"Version:.+?</head>"]=""
> deleted everything from the start of the file to the end of the
> header, and did it almost instantly.
> Thanks!
> 
> On 25/05/07, Sheri <[EMAIL PROTECTED]> wrote:
> 
> > The problem is the way you've expressed your pattern. I assume textIn
>

Hi Owen,

The metacharacter \A matches the start of the subject, so
?"(?s)\A.+</head>" is probably what you want and would work in both
the old and new functions.

Regards,
Sheri

Reply via email to