Source

hgsync / hgignore.template

syntax: glob
*.orig
*.rej
*~
*.o
*.log
*.err
*.bak
CHANGED.FLG
LOCKED.FLG

syntax: regexp
# File extension longer than 3 letters.
.*\.[A-Z0-9]{4,}