We could use this only for regex creation, so we don't create regexes several times (as an optimization).