I am assuming there should not be any final input to stdout for the following (only to stderr)

mt@kodachi:~/libbash (libbash::master)$ RangeToRegex 1,2,5,10-20,100-200
1|2|5|20|1[0-9]|200|10[0-9]|1[1-9][0-9]
mt@kodachi:~/libbash (libbash::master)$ RangeToRegex 1,2,5,10-20,100-   
Unkown value (100-) in range:
1,2,5,10-20,100-
mt@kodachi:~/libbash (libbash::master)$ RangeToRegex 1,2,5,10-20,a100-
Unkown value (a100-) in range:
1,2,5,10-20,a100-
mt@kodachi:~/libbash (libbash::master)$ RangeToRegex 1,2,5,10-20,a    
Unkown value (a) in range:
1,2,5,10-20,a
mt@kodachi:~/libbash (libbash::master)$ RangeToRegex 1,2,5,10-20,a-v
Unkown value (a-v) in range:
1,2,5,10-20,a-v