JSLint considers `.*` in regex to be unsafe, [\w\W] fixes the warning, but you're right /\/ghost(\/|$)/ should be fine - I tried that out and couldn't get it to work.

FWIW, this is the reason why I left this with a [WIP] tag - I only had a really quick stab at it last thing before I went to bed - it's full of stupid mistakes :wink: