[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (rx regexp to remove space and new lines
From: |
Michael Heerdegen |
Subject: |
Re: (rx regexp to remove space and new lines |
Date: |
Tue, 13 Sep 2022 04:36:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
<tomas@tuxteam.de> writes:
> > (string-replace (rx (one-or-more (any "\n" "[[:space:]]"))) " " sql)))))
>
> This looks about correct, so I don't understand your question. In which way
> this does fail? Don't make us solve riddles ;-)
When you eval that `rx' expression you see that you get ... something.
> I'm not very fluent on Rx, but I'd double check whether it takes
> "[[:space:]]" as syntax.
No, strings match literally.
Michael.
- Re: [SOLVED] Re: (rx regexp to remove space and new lines, (continued)
- Re: [SOLVED] Re: (rx regexp to remove space and new lines, Michael Heerdegen, 2022/09/12
- Re: [SOLVED] Re: (rx regexp to remove space and new lines, Jean Louis, 2022/09/13
- Re: [SOLVED] Re: (rx regexp to remove space and new lines, Michael Heerdegen, 2022/09/13
- Re: [SOLVED] Re: (rx regexp to remove space and new lines, tomas, 2022/09/13
- Re: [SOLVED] Re: (rx regexp to remove space and new lines, Michael Heerdegen, 2022/09/13
- Re: [SOLVED] Re: (rx regexp to remove space and new lines, tomas, 2022/09/13
- Re: [SOLVED] Re: (rx regexp to remove space and new lines, Michael Albinus, 2022/09/13
- Re: [SOLVED] Re: (rx regexp to remove space and new lines, Jean Louis, 2022/09/14
- Re: [SOLVED] Re: (rx regexp to remove space and new lines, Michael Heerdegen, 2022/09/14
- Re: [SOLVED] Re: (rx regexp to remove space and new lines, Jean Louis, 2022/09/15
Re: (rx regexp to remove space and new lines,
Michael Heerdegen <=