Re: stripping out ASCII chars using regexp?

From: Greg (djbitchpimp_at_snowboard.com)
Date: 03/18/04


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/\&#65533//g ;

but i never had the line:

$word = $_ ;

Newbie mistake!

Sorry for the phantom bug guys, but thanks for all the help.

Greg



Relevant Pages

  • Re: Security Update Cd Expires. Keep Your files backed up.
    ... Greg R wrote: ... >>Idiot only the free AV 1 year trial expires ... > See the screenshot shot at ... "almost bob, *you're* the idiot with the enormous signature", ...
    (microsoft.public.win2000.general)
  • Re: Security Update Cd Expires. Keep Your files backed up.
    ... Greg R wrote: ... >>Idiot only the free AV 1 year trial expires ... > See the screenshot shot at ... "almost bob, *you're* the idiot with the enormous signature", ...
    (microsoft.public.windowsxp.general)
  • Re: The Way Space Really Works
    ... the past couple of years have taught us that Greg ... Easterbrook is an idiot. ... A mathemaidiot, to be specific. ...
    (sci.space.history)
  • Re: Scotch Cousins
    ... MARTIN GOLDSTRAW AND STEPHEN PLOWMAN ARE WEAK ... and, who's this idiot? ... My name is Greg, we're out in public now boys ...
    (rec.heraldry)
  • Re: IPMS leadship asleep at the wheel again........
    ... Kelly and Greg, ... If you block this idiot, like many of us have, we would never know he had ... posted because you guys wouldn't be posting these replies he apparently ... Don't feed da trolls. ...
    (rec.models.scale)