Re:Show HN: Regex.ai – AI-powered regular expression generator
by nicolaslegland on Tuesday March 28, 2023 @05:23AM
(#35337869)
https://regex.inginf.units.it/ only needed 5 seconds to generate /(?<=Rd )\d++/ when I highlighted 9856, 10190, 9753 and 8883.
https://regex.ai/ was stuck with /9856|10190|9753|8883/ and confidently emitted /\d{4}/ as an alternative.
https://regex101.com/r/cAaV1z/1 confirms the former.
It uses genetic programming to build the regular expression.