only compile the regular expression once and make it case insensitive
only compile the regular expression once and make it case insensitive

cuckoobox/cuckoo,cuckoobox/cuckoo,cuckoobox/cuckoo,cuckoobox/cuckoo,cuckoobox/cuckoo