Problem adding files ending in "~" to hide filter

Hello

I'm trying to add files that end with the "~" character (Vim temporary files) to my hide filter but I can't seem to get it to work.

I'm fine with simple examples like*.(txt|bmp)but my attempts to add something like*~$ or *~don't work. I've tried escaping with "" to no avail.

Can anyone shed any light on this for me?

TIA,

Nick

' is the escape character for pattern matching strings while \ is for regular expressions.

To match all files ending in ~ use this:

*'~