Hi Jason,
Thanks for your feedback. Please show how list2regexp does not produce a minimal regular expression to represent the given input set. Using wilcards or CIDR suffixes should produce a minimal pattern when operating on lists of IP addresses and IP address ranges. If you are not operating on lists of IP addresses and ranges, list2regexp shouldn't need any hinting to produce a minimal pattern. Please show a real-world example which would not be better served by using the built-in support for wildcards and CIDR suffixes.
I didn't include a 150,000-line list in my post because that wouldn't be a practical example. If you are only matching a list containing a couple of strings, then yes, using list2regexp probably won't make much of a difference. However, parsing 150,000 IP addresses and CIDR suffixes (or other large lists) with list2regexp will result in a large performance improvement. I just benchmarked the latest version (v1.0.2) and matching against 150,000 addresses and CIDR suffixes takes 25-50 microseconds with warm caches on a 5 year old laptop.