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

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

bug#27659: 26.0.50; Add string-matched-text: string-match + match-string


From: Michael Heerdegen
Subject: bug#27659: 26.0.50; Add string-matched-text: string-match + match-string
Date: Sat, 22 Jul 2017 04:02:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

John Mastro <address@hidden> writes:

> I hope you do - both this and the rx pattern would be nice to have.

I think we should make it so that they have corresponding semantics.
Ideally, without variable binding, Phillip's macro should be eqivalent
to calling rx on the pattern args and then calling Stefan's version.  On
top of that, both should add variables and back-references in the same
way.  It would be very confusing to add the same thing twice with only
very subtle differences (modulo regexp syntax used).


Michael.





reply via email to

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