Drew Adams writes: >> For such regexps, the exact syntax (PCRE, BRE, ERE, RX, ...) in use has >> fairly little importance: if written "raw" as above, it will be >> indecipherable in any case. >> >> To make it readable, you need to add human-level explanations >> e.g. by adding comments and naming sub-elements. Which is indeed what >> is done in the source code:... > > Agreed. The rx language seems to have space to add support for variables. Then rx would really shine for such expressions: it would make it very natural to explicitly name expressions and re-use them. -- Pierre Neidhardt