You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@worldgate.com> on 1998/01/16 03:41:28 UTC

regex confusion..

What should I need to match any file with a . or a z in the name?

<Files ~ [.z]> seems right to me.  The . shouldn't have to be escaped in
the bracket expression.  It doesn't work for me. 

Ok, so perhaps it is getting it confused with '[.' and '.]'.  Try [z.z],
no go.

What am I doing wrong?

What I am really trying to make is a regex that matches any file without a
. in the name, which should be easy but I cna't get there...