Correct the regex ^/$ mixup