Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Regex question: How do I remove an escape code from text?

by jsprat (Curate)
on Mar 20, 2003 at 18:00 UTC ( #244667=note: print w/ replies, xml ) Need Help??


in reply to Regex question: How do I remove an escape code from text?

You opened it in vim? Position the cursor under the '^e' and type "ga" (or ":as[cii]", if that's easier to remember). In the command line you will see the ascii value of the character.


Comment on Re: Regex question: How do I remove an escape code from text?
Re: Re: Regex question: How do I remove an escape code from text?
by Declarent (Sexton) on Mar 20, 2003 at 18:40 UTC

    I opened it in vim, hit ga and guess what? It's a 0x00. Removed it via /\x00/ and now I'm 5x5.

    As usual, you Monks rock!

    D

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2014-09-16 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (33 votes), past polls