Re: stripping out ASCII chars using regexp?
From: Greg (djbitchpimp_at_snowboard.com)
Date: 03/18/04
- Next message: Jay Tilton: "Re: Variable interpolation in regular expressions"
- Previous message: Greg: "Re: stripping out ASCII chars using regexp?"
- In reply to: Greg: "stripping out ASCII chars using regexp?"
- Next in thread: Brad Baxter: "Re: stripping out ASCII chars using regexp?"
- Reply: Brad Baxter: "Re: stripping out ASCII chars using regexp?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 18 Mar 2004 09:22:40 -0800
OK I'm an idiot.
I had:
$_ = $word ;
s/\240//g ;
s/[\200-\377]//g ;
tr/\177-\377//d ;
s/\�//g ;
but i never had the line:
$word = $_ ;
Newbie mistake!
Sorry for the phantom bug guys, but thanks for all the help.
Greg
- Next message: Jay Tilton: "Re: Variable interpolation in regular expressions"
- Previous message: Greg: "Re: stripping out ASCII chars using regexp?"
- In reply to: Greg: "stripping out ASCII chars using regexp?"
- Next in thread: Brad Baxter: "Re: stripping out ASCII chars using regexp?"
- Reply: Brad Baxter: "Re: stripping out ASCII chars using regexp?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|