Questions tagged [rx]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
14
votes
1answer
822 views

How do I create a dynamic regexp with rx?

I want to use rx to create regular expressions with runtime values. Currently, I'm doing this: (setq strings '("foo" "bar" "baz")) (eval `(rx symbol-start (or ,@strings) symbol-end)) However, I'd ...