logging and using properties for regexes