Regular Expressions 101

Community Patterns

everything that doesn't match .gitignore at the end

3

Regular Expression
PCRE (PHP <7.3)

/
!(\.gitignore)$
/
i

Description

must match: selection/nl/example.xml selection/example.xml selection/blabla.txt selection/es/

must NOT match: (anything that ends with .gitignore, in any subfolder)

Submitted by anonymous - 9 years ago