Yes, you need to include the ^ and $; otherwise, as long as 6 consecutive letters in the string match the pattern, it's happy, even if other characters do not match. The ^ tells it, though, that the pattern must be first in the string, and $ tells it that the pattern must also be last.
__________________
Lamb Host | Shared, reseller, VPS, and dedicated hosting • Pure SSD Hosting • Build your own package • CloudLinux/LiteSpeed • Certified partner of CloudFlare • 24x7 support
Blazing Fast SSD VPSs | Pure SSD storage • 1 Gbps uplink • 99.9% uptime guarantee • 24x7 support • management available