Re: Regex guru needed
| From: | Aaron Wormus | Date: | Sat, 13 Nov 2004 15:44:18 +0000 |
| Subject: | Re: Regex guru needed | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-34372@lists.php.net to get a copy of this message | ||
Tobias Schlitt wrote:
Hi all! I try creating a regex which extracts all function/method prototypes from a PHP file. So far, I went pretty well, besides one problem. The regex below works pretty well, but only the last parameter of a function declaration is extracted. Maybe someone can give me a hint how to get all parameters (into seperate array elements)?like preg_match_all() ? Aaron