Board Thread:Support Requests - Getting Technical/@comment-1036245-20150309152516/@comment-452-20150311135053

Yeah, what's even more confusing is that even when you know regular expressions, it doesn't use the normal format.

I mostly worked out how it works by just trying different things.

As I said, just add File:HNI, that's how I block "file names starting with...", and it works fine.

I'm fairly sure that this will match anything with File:HNI anywhere in the filename. So you would be unable to create User_blog:Taliseth/Why_is_File:HNIasdf_blocked? (I checked, this is correct)

In practice, no-one is likely to create a page containing the name File: anyway, so it's a non-issue.

But if you want to allow that example, use ^File:HNI instead. ^ means "starts with" - a wildcard is automatically added to the end, so you do not need to add .*

If you care about being strict, the first page I link contains some information about the syntax.