On Sat, Aug 13, 2022 at 10:23 AM Tushar Sadhwani <
tushar.sadhwani...@gmail.com> wrote:
> Stephen J. Turnbull wrote:
> > I think this is a pretty unconvincing example. While people seem to
> > love to hate on regular expressions, it's hard to see how that beats
> > def unquote(string: str) ->
Stephen J. Turnbull wrote:
> I think this is a pretty unconvincing example. While people seem to
> love to hate on regular expressions, it's hard to see how that beats
> def unquote(string: str) -> str:
> m = re.match(r"^(?:"(.*)"|'(.*)'|(?Pvalue3))$", string)
RegEx feels overkill for