in reply to regex to match a literal dot near end of string

Well, you run the risk of matching files like filename.. or filename.^H with your regex--probably not a big deal, eh?

Still, I'd've done something like: /(.+)(\.\w+)$/ on the assumption that all my desired filename extensions would match \w+ .

adamsj

They laughed at Joan of Arc, but she went right ahead and built it. --Gracie Allen