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

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

Re: Use the characters "+" and "-" in regular expressions


From: steve-humphreys
Subject: Re: Use the characters "+" and "-" in regular expressions
Date: Wed, 19 May 2021 19:39:10 +0200

I had tried

(string-match " [-\+\.]+" s)

> Sent: Thursday, May 20, 2021 at 4:47 AM
> From: "Yuri Khan" <yuri.v.khan@gmail.com>
> To: steve-humphreys@gmx.com
> Cc: "Skip Montanaro" <skip.montanaro@gmail.com>, "Help Gnu Emacs" 
> <help-gnu-emacs@gnu.org>
> Subject: Re: Use the characters "+" and "-" in regular expressions
>
> On Wed, 19 May 2021 at 23:26, <steve-humphreys@gmx.com> wrote:
> >
> >    I want to match a space followed by a series of "+" or "-" or "."
> 
> You forgot to tell us what you tried, and how it doesn’t do what you want.
> 
> (You probably also forgot to read the manual chapters (info "(emacs)
> Regexps") and (info "(elisp) Regular Expressions").)
> 
>



reply via email to

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