[R] RegExpr: Help match quote inside a set
Ivan Krylov
kry|ov@r00t @end|ng |rom gm@||@com
Fri Feb 21 13:27:52 CET 2020
On Fri, 21 Feb 2020 13:17:59 +0100
Martin Møller Skarbiniks Pedersen <traxplayer using 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
More information about the R-help
mailing list