Hacker News new | ask | show | jobs
by polskibus 1442 days ago
I’d bet users would’ve preferred to provide examples of input and output to get the regexp they want , instead of designing it in plain English.
3 comments

That seems like a computationally challenging problem. To avoid .+ you would have to include non matching examples and then I don't know how similar to the matches / specific those would have to be.
Plain English has the benefit that you can use the microphone/dictation on your cellphone...
Why would you need to generate a regex on your cell phone?