Re: [R] parsing files with "\" character

2019-08-27 Thread Jeff Newmiller
The principles of regex are basically the same between R and those other languages, so I don't see why you would switch... but if you did, asking here would be inappropriate. I think the short answer is yes, but can't be specific without a reproducible example. ([1] is recommended but not requi

Re: [R] parsing files with "\" character

2019-08-27 Thread Michael Dewey
Dear April Can you show us an example of what you are trying to do and how it fails? There are rules about backspaces but I find that if one backspace does not work try two, three, four until it works. It would be better to understand the rules but life is short. Michael On 27/08/2019 06:56

[R] parsing files with "\" character

2019-08-27 Thread April Ettington
Is there any way to parse files that include the \ character in a string? When I try to use grep to extract strings with a pattern that includes "\" it fails. If there is no way to do it with R, is it possible with python or a bash script? Thank you, April [[alternative HTML version d