repl: escape brace and other regex function char