K
Klaus Alexander Seistrup
Hi,
Is there a way to "expand" simple regexps? Something along the
lines of:
#v+
#v-
Cheers,
// Klaus
--
Is there a way to "expand" simple regexps? Something along the
lines of:
#v+
rx = '(a|b)c?(d|f)'
expand_regexp(rx) ['ad', 'af', 'acd', 'acf', 'bd', 'bf', 'bcd', 'bcf']
#v-
Cheers,
// Klaus
--