Going in the other direction.......................English to Regex.
Just for your information, someone has attempted an English
to Regex bash2 script. You might look and see the problems he
ran into. It's at
txt2regex
To me, it looks like the biggest problem is optimization.
The script makes these clunky drawn out regexes most of the time.
I don't think the AI guys can get Japhy's or Krahn's brain into code
yet. :-)