Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Help modifying recursive regex

by gurpreetsingh13 (Scribe)
on May 08, 2013 at 05:25 UTC ( [id://1032577]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub get_groups {
        my @groups = ();
    ...
        print Dumper(@groups);
    
    } ## ---------- end sub get_groups
    
  2. or download this
    my $string = "A (B C D)";
    get_groups($string);
    ...
    $string = "A B (C (D E) (F G)) (H I)";
    $string = "(A B) M N ((C (D E)) (F G)) (Z(H I)) T R";
    get_groups($string);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-24 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found