Putting
syntax:regexp
*.foo.[a-z]{1,4}
in .gitignore
does not work. I remember seeing
syntax:glob
and
syntax:regexp
some time ago in some .gitignore
files, but I couldn't file such syntax in Git manual. Is there a way to use regular regex in .gitignore
?