Community Patterns

Community Library Entry

1

Regular Expression
Created·2016-06-09 17:22
Flavor·Python

r"
[\n]+\s+public function [a-z]+[(][a-zA-Z0-9=',]+[)]\n+\s+[{]\n(.+?)\n+\s+[}]
"
s
Open regex in editor

Description

It filters out the body of all public functions.

Submitted by Sachin