
Feb. 26, 2009
9:33 a.m.
On Thu, Feb 26, 2009 at 8:36 AM, Daniel Stutzbach < daniel@stutzbachenterprises.com> wrote:
re_with = re.compile(r'(try:[ \t]*)?[\r\n]+[ \t]+with ')
Here's an updated regular expression that does a better job of ignoring comments and strings: re_with = re.compile(r'(try:[ \t]*)?[\r\n]+[ \t]+with .*:') -- Daniel Stutzbach, Ph.D. President, Stutzbach Enterprises, LLC <http://stutzbachenterprises.com>