multi lines matching

Find Python Function Definitions and Usages

# this prints Definitions too because I don't know how to ignore lines
# starts with `def`
# 
# [^,] for removing imports

rg --multiline --multiline-dotall 'foo_function_name\(.*?\)[^,]' -g "!**/tests**"