Monthly Archives: February 2011

Python regular expression surprise

I came across this regular expression anomaly recently in Python. The regular expression was more complex, but this example illustrates the idea. Try and predict the outcome (should work with Python 2.5 – Python 3.1) This produces: a, bc, d … Continue reading

Posted in Python, Software | 1 Comment