You may or may not need the \. or . depending on your requirements.
You probably also want another rule set up to fix URLs that point to XHTML files. My example might cause an infinite loop, in which case we are working on updating this regex engine to support “stops” so that when a certain condition has been reached, rewriting is halted. Right now prettyfaces works much better with <url-mappings>, so you should consider using DynaView instead:
But anyways, injecting a List of Strings into the bean is easier than having to add a <url-mapping> for every page. Especially if the list can be generated using a database.