I would like to use the .hgignore
file of Mercurial to ignore all files with file extension .tex
, except those .tex
files in one particular directory and whatever subdirectory of this directory.
I presume syntax: regexp
will be required for this.
A brief explanation of the particular regular expression used, would also be very welcome, so that we can all learn a bit here.