Instead of using a regex here, could you just use '//en.core.rackspace.com' as the pattern?