Regular Expressions 101

Community Library Entry

0

Regular Expression
Python

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

Description

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

Submitted by anonymous - 2 years ago