emacs-devel
[Top][All Lists]
Advanced

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

Re: cond*


From: Richard Stallman
Subject: Re: cond*
Date: Sun, 07 Jan 2024 22:47:23 -0500

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > May you please elaborate how you see named variables in `rx'?

Exactly the same as in `rx' in pcase.

I suppose pcase transforms the (rx ...) construct into a regular
expression -- right?  If this can be implemented for the (rx ...)
pattern in pcase, it can be implemented for `rx' the function with the
same code -- right?

I expect it would work by allocating a subpattern number for each
(let ...) variable.

Please don't tell me that someone reimplemented `rx' from scratch
for pcase, rather than using the existing `rx' code!

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

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