26 sep. 2019 kl. 16.04 skrev Clément Pit-Claudel <cpitclaudel@gmail.com>:

These functions are used to produce items that go into rx-constituents — is it safe to use rx-to-string for that?

Yes, it's fine to return a regexp string from a function in rx-constituents. I'm not aware of any reëntrancy concerns.