Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: pattern matching

by Athanasius (Monsignor)
on Oct 12, 2012 at 15:42 UTC ( #998727=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @chunks = $sysex_dump =~ /\xF0C.[~z]((?:..LM  0087[A-Z][A-Z].+?)+)\
    +xF7/gs;
    my @parts;
    ...
    {
        push @parts, $1 while /(..LM  0087[A-Z][A-Z].+?)/gs;
    }
    
  2. or download this
      (..LM  0087[A-Z][A-Z].+?)
    #  ^^ <= here they are
    
  3. or download this
    /\xF0C.[~z](\.\.LM  0087[A-Z][A-Z].+?)+\xF7/s
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-12-20 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (96 votes), past polls