Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Answer: How do I match/extract a function from a JavaScript file?

by erroneousBollock (Curate)
on Sep 30, 2007 at 17:43 UTC ( [id://641796]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      sub _extract {
        my ($funct,$Jscript) = @_;
    ...
            print "Matched :\n",$1;
        } 
      }
    
  2. or download this
      foo (a, b, c) {
        if (c) { a++; } else { b--; }
    ...
        if (d) { e++; } else { f = g + h; }
        print "ho";
      }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-24 06:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found