help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Difference between \\w and [:word:]?


From: Robert Pluim
Subject: Re: Difference between \\w and [:word:]?
Date: Fri, 08 Jun 2018 11:16:11 +0200

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> It definitely felt a little weird writing something like
> "\\w[[:word:]-']+", where we're required to use two different notations
> for the same match.
>

Nothing prevents you from writing

[[:word:]][[:word:]-']+

Robert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]