http://www.gravitonic.com/downloads/talks/phptek-2006/regex-clinic_phptek2006.pdf