#1, enhanced regex for interval syntax.