Y
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
texaslonghorn5
1442 days ago
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.
link
asicsp
1442 days ago
Something like
https://regex-generator.olafneumann.org/
?
link
asah
1442 days ago
Plain English has the benefit that you can use the microphone/dictation on your cellphone...
link
wtetzner
1442 days ago
Why would you need to generate a regex on your cell phone?
link