Make it possible to reuse the regexp string for ranges.
Authored by: cboos 2006-11-11
Parent: [r4236]
Child: [r4238]