Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: regexp mystery no xxx

by Zaxo (Archbishop)
on Aug 18, 2003 at 21:18 UTC ( [id://284726] : note . print w/replies, xml ) Need Help??

in reply to regexp mystery no xxx

The /g switch is causing pos to be set to the end of the $title string. Omit /g on the first test and this behaves as you think it should.

After Compline,

Replies are listed 'Best First'.
Re: Re: regexp mystery no xxx
by Anonymous Monk on Aug 18, 2003 at 21:23 UTC
    ah, yeah.. hehe.. Thanks 1 million Zaxo for the quick reply..(..arg, bug hunting makes me tired and frustrated..)