So I can teach you to ignore certain files, and I can do that either in glob or regexp style. (But why? What can I do in glob that I cannot do with regular expressions?) Anyways ... to distinguish between those two I put in .hgignore (that is the same file where I actually list the patterns) either "syntax: glob" or "syntax: regexp"...
... ... ... THAT MEANS I CANNOT IGNORE FILES THAT BEGIN WITH "syntax:" actually I can by doing something clever like "syntax.*" But still, mixing instructions with data is so, ... so, ... ah forget it, back to work...