Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: regexp mystery no xxx

by Zaxo (Archbishop)
on Aug 18, 2003 at 21:18 UTC ( #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,
Zaxo

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..)

    Regards,
    Tom

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://284726]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2022-05-22 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (81 votes). Check out past polls.

    Notices?