Displaying 1 result from an estimated 1 matches for "mtaches".
Did you mean:
matches
2008 Jul 06
2
Regular expressions: bug or misunderstanding?
I'm trying to write a gsub() call that takes a string and escapes all
the unescaped quote marks in it. So the string
\"
would be left unchanged, but
\\"
would be changed to
\\\"
because the double backslash doesn't act as an escape for the quote, the
first just escapes the second. I have the usual problems of writing
regular expressions involving backslashes which