News

If you’ve ever done any serious programming you’ll have run into something called regular expressions: (abbreviated regex or regexp and sometimes called a rational expression) is a sequence of ...
We aren’t sure how we feel about [pemistahl’s] grex program. On the one hand, we applaud a program that can take some input samples and produce a regular expression. On the other hand, … ...
The result: 84,688 regular expressions that can play chess using a 2-ply minmax strategy. No kidding. ... Programming the machine must be pretty hard, right? Well, no.
1. A good book on regular expressions is Mastering Regular Expressions by Jeffrey E. F. Friedl, ISBN 0596528124. It does not explicitly cover Python, but Python’s re module offers very similar ...