RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details c function
Expression
/\w+?\s\w+?\(([\w\s=]+,*|[\w\s=]+|(?R))*\);/
Description
A recursive PRCE regular expression that matches a c funtion with any number of parameters including 0 parameters. I.E: return fuction(); is the minimum it matches.
Matches
returntype function(int inc=1,void parameter);
Non-Matches
function();
Author Rating: Not yet rated. Martijn Laarman
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials