koalaburrito A tokenizer. It's just a tokenizer. It's not a parser. Check out nagiosrangeparser. Also check out the tests for a simple example.