in reply to A Regexp Assembler/Compiler
You'd have to be able to enumerate the roman numerals you want to match to be able to use it directly, though...
That could get pretty wild :)$ perl -MRegex::PreSuf -e'my $re = presuf(qw(I II III IV V VI VII VIII + IX X)); print "$re\n";' (?:I(?:II|[IVX])|VI(?:II|I)?|[IVX])
|
|---|