Changed trimmer regex to accept \ so that \0 can be used in string literals