OS X Lion droped support for 'grep -P, this is a fix for that problem.

Instead of using 'grep -P' this solution is using multiple grep multiple times and awk to extract the episodes.