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: Yuri Khan
Subject: Re: Difference between \\w and [:word:]?
Date: Fri, 8 Jun 2018 16:24:37 +0700

On Fri, Jun 8, 2018 at 4:17 PM Robert Pluim <rpluim@gmail.com> wrote:

> > 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:]-']+

Or even

(rx wordchar (any wordchar ?- ?'))



reply via email to

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