Source

chut / .hgignore

#use glob syntax.
syntax: glob

*.beam
*.swp

#switch to refexp syntax.
syntax: regexp
^\.beam/
^\.swp/