Fixed regex error (added ^ and $ to checks)