Add a regex matching script