"root-re-pattern" is same length as "file-re-pattern"
Yeah, but that's why I asked if we can think of something shorter.
But I think we can just leave it, as it's not so important - X vs X-7 makes no difference. :-)
When I have some free momement this weekend, I can help contribute some code.
I already changed the trunk to use reg-exp.
But you're welcome to add a few more tests or some other ideas / features.