I have no doubt that there are some cases which won't match. This particular utility does not need to be 100% on for every possible corner case, to produce the desired result. That said, all improvements, whether pull request or posted suggestions, are much appreciated.
My comments regarding the regex was the very high number of cases that are correctly handled, with such a small amount of code.
My comments regarding the regex was the very high number of cases that are correctly handled, with such a small amount of code.
Thank you for your comments. I appreciate it.