I opened re-builder and changed its syntax to "rx". My target buffer has plenty of digits and (rx (and "4")) highlights a lot of 4s, however, (rx (and digit)) is apparently valid but matches nothing on the same target buffer! So far I only got string literals to match.
Asked
Active
Viewed 335 times
1 Answers
1
Apparently '(and digit) works. '() is what shows up if one loads re-builder with the syntax already set to "rx". There are some comments in the re-builder.el.gz.

luntain
- 131
- 2