Allowing to use special reg exp chars in templates values