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

Re: Re: Sniffing binary data, heuristics?

by McMahon (Chaplain)
on May 25, 2004 at 19:30 UTC ( #356345=note: print w/replies, xml ) Need Help??


in reply to Re: Sniffing binary data, heuristics?
in thread Sniffing binary data, heuristics?

This interests me as well. Could you elaborate on what  /[^:[print]:]/ does?

Replies are listed 'Best First'.
Re: Re: Re: Sniffing binary data, heuristics?
by PodMaster (Abbot) on May 26, 2004 at 04:00 UTC
    That's a typo :). What diotalevi meant to write was /[^[:print:]]/ and it means (as per `perldoc perlre'):
    C:\>perl -MYAPE::Regex::Explain -le"print YAPE::Regex::Explain->new(qr +/[^[:print:]]/)->explain" The regular expression: (?-imsx:[^[:print:]]) matches as follows: NODE EXPLANATION ---------------------------------------------------------------------- (?-imsx: group, but do not capture (case-sensitive) (with ^ and $ matching normally) (with . not matching \n) (matching whitespace and # normally): ---------------------------------------------------------------------- [^[:print:]] any character except: alphanumeric, punctuation, and whitespace characters ---------------------------------------------------------------------- ) end of grouping ----------------------------------------------------------------------

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://356345]
help
Chatterbox?
[choroba]: When working at a bank, we had a colleague who entered mining early enough to have lots of bitcoins. He used to say "I go to work just because I'm too bored at home."
[Corion]: choroba: Aah, no, I do it because of the money :)
[choroba]: And when asked "How are you?" in the morning, his reply was usually "I don't know, haven't checked the bitcoin rates yet."
[Corion]: Heh - if I defined myself through the money I make, I would now only be 80% myself :-D
[choroba]: :-D
LanX emacs is the oldest textadventure ...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2017-09-21 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (249 votes). Check out past polls.

    Notices?