Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
[^/]+\.yml|[^/]+\.yaml
"
gm

Description

matches any file with *.yml or *.yaml

Submitted by anonymous - 3 years ago