Anchor regex in Director#is_absolute_url()

- Anchor the regex to the beginning of the string
- Change the regex delimiter to reduce the amount of \ clutter
Merge pull request #1832 from oddnoc/is_absolute_url-regex

Anchor regex in Director#is_absolute_url()