Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-09-21 13:28
Flavor·Python

r"
((?:[a-zA-Z-_]*/)+)?([a-z]+\.py)
"
gm
Open regex in editor

Description

Get the changed files from the "git pull" output. Use finditer to get a list of Matches.

Submitted by anonymous