I would remove the '^' and '$' from this regex.  The regex implementation here is inherently more restrictive than the standard regex matcher, as you use `"^#{page_url_matcher}$"` which thus requires the page_url_matcher supplied for the page to match the full URL including wildcards, rather than simply needing to match the content of the regex where a simple regex such as the one above is used.

So, the following would never yield a match without a leading wildcard:

```ruby
set_url_matcher "/account"
```