Pattern Matching on Duration Regex and Non Capturing Groups
Last week I was writing a method to parse a String representing throttle policy in somewhat plain English. The input string can be 2 requests per 10 minutes or 1 request per 100 seconds or 12 per 1 day. So the idea is that request or requests is optional and is there only to make »