Can someone which more experience than me give me q uick example as to how to santch out what is *inside* some {} brackets, for example snatching out and array of the contents of multiple c functions in the same file. Thank you...$np = qr{ \( (?: (?> [^()]+ ) # Non-parens without backtracking | (??{ $np }) # Group with matching parens )* \) }x;
In reply to Re: pattern matching with brackets
by Anonymous Monk
in thread pattern matching with brackets
by eg8rds
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |