Regular Expressions 101

get the body of a python function and its arguments

Open Workspace
  • PCRE (Legacy)
  • Match
1

Regular Expression

/
(def*\W(\w+)([\w\W]*?))(?=(def)|$)
/
g

Description

No description provided.

Submitted by Ethan Riley.