On Tue, 26 Feb 2019 at 00:34, Clément Pit-Claudel <cpitclaudel@gmail.com> wrote:
On 25/02/2019 09.47, Lars Ingebrigtsen wrote:
> I think it would be nice if Emacs had a regexp object.  That would allow
> us to extend Emacs in a compatible way somewhat seamlessly over a period
> of time.

I think many others on this thread agree :) The one issue with this scheme is that we might need to change string manipulation functions too (many programs concatenate regexps using a plain `concat')

Not saying it's a good idea, but ‘concat’ could be overloaded to support concatenation of regexes.