<p>I am looking for an expression for the .hgignore file, to ignore all files beneath a specified folder.</p>

<p>eg: I would like to ignore all files and folders beneath bin</p>

<p>Actually any advice on how the expressions are formed would be great</p>

Nevermind, I got it
```
```
syntax: regexp
bin\\*
```
```
expressions follow standard perl regular expression syntax.