Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: pattern matching

by Athanasius (Chancellor)
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].+?)+)\
    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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998727]
[Discipulus]: i put some shodowing cloth against the killer sun. but i'm still not happy with this
Discipulus roof? or terrace? well is flat anyway, parallel to the ground
[Eily]: upper ground :P
[marto]: erix [id://1193617| pretty much
[marto]: err pretty much

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-06-29 13:00 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (665 votes). Check out past polls.