>
>   %r($(?<!\.html)\z)  # is that what you meant above?
where does this $ come from ?