News for hackers. Stuff that matters.
Re:Automatic Generation of Regular Expressions from Examples by csmatt on Monday October 22, 2012 @09:22AM (#4682993)
I attempted writing something similar when I was bored at work a year ago. I soon discovered how difficult this problem actually is. It's definitely beyond afternoon hacking. I'd love to get a peek at the secret sauce!
Re:Automatic Generation of Regular Expressions from Examples by a3_nm on Monday October 22, 2012 @09:28AM (#4683015)
There is a paper which explains how it works: http://mllab.inginf.units.it/publications/international-conf...

Note that there are other (non-genetic) approaches to learn regular expressions (some are cited in the above paper).

Re:Automatic Generation of Regular Expressions from Examples by csmatt on Monday October 22, 2012 @04:07PM (#4685241)
Thanks for the link. I've been meaning to get into machine learning and this sounds like a good, tractable problem to start with.