I am using Mercurial version version 3.8.4 on Windows 8.1. when I run this command:
> hg status
M Program.cs
? asd\gfgfdg\asdasd\asdasd\ghfg.txt
? asd\gfgfdg\asdasd\erert.txt
? asd\gfgfdg\ggdfg.txt
? asd\gfgfdg\ghfh.txt
the output is the same for all of these commands, which it shouldn't be (unless I am misunderstanding the documentation):
hg status -X "**.txt"
hg status -X '**.txt'
hg status -X "glob:**.txt"
hg status -X 'glob:**.txt'
hg status -X "set:**.txt"
hg status -X 'set:**.txt'
hg status -X "*.txt"