Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: substitution issue

by vitoco (Friar)
on Nov 02, 2009 at 12:50 UTC ( #804449=note: print w/ replies, xml ) Need Help??

in reply to substitution issue

Are ^M two chars (ie. ^ and M) or just a visual representation of \r byte (ie. CR)? From the first part of the substitution /\^[A-Z]/ I see you think that are two bytes, but if it's always a M, why are you seeking for the whole alphabet?

BTW, your code is replacing ^M after </Content> because your flag is not reset by this closing tag.

Comment on Re: substitution issue
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2015-11-28 00:57 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (735 votes), past polls