On Fri, 21 Feb 2020 13:17:59 +0100 Martin Møller Skarbiniks Pedersen <traxpla...@gmail.com> wrote:
> "[.,;\"-']" Note that there is an - between " and ', which transforms your regular expression into a range (all characters between " and ') instead of a set. Move the - right in front of the closing bracket ] to make it match a literal - again. > sorry for the html. By the way, you managed to switch this e-mail to plain text instead of HTML. -- Best regards, Ivan ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.