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,
Zaxo
In Section
Seekers of Perl Wisdom
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,
Zaxo