Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Regex to pull out string within parenthesis that could contain parenthesis

by golux (Chaplain)
on Jul 09, 2018 at 15:45 UTC ( [id://1218169]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    #
    ...
        say "  \$ret   => '$ret'";      # Optional return args (in parens)
        say "  \$rargs => '$rargs'";    # Optional return args (no parens)
    }
    
  2. or download this
    Match!
      $full  => 'private function convert_wa_date_strings(iv_beg string, i
    +v_end string, iv_read_date date, iv_step char(6)) returns (date, date
    +, char(1))'
    ...
      $args  => 'iv_beg string, iv_end string, iv_read_date date, iv_step 
    +char(6)'
      $ret   => '(date, date, char(1))'
      $rargs => 'date, date, char(1)'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (8)
As of 2024-04-20 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found