Re: [Libreoffice] fixguard.py

2010-10-07 Thread Petr Mladek
calla...@xmission.com píše v Út 05. 10. 2010 v 22:07 -0600: > I forgot to add that on the last one the replacement pattern is the > empty string rather than "\\1". Grr, you are right. Unfortunately, I did it in a hurry and did not remove the commented out headers. Well, there were not that many

Re: [Libreoffice] fixguard.py

2010-10-07 Thread Petr Mladek
calla...@xmission.com píše v Út 05. 10. 2010 v 22:04 -0600: > Quoting Michael Meeks : > > Thanks for checking that last batch in. Here is the next pattern to > run through fixguard.py which picks up all of the guarded includes > that are commented out. > > exp = '//.*#ifndef.*_(?:H|HXX|HRC|H

Re: [Libreoffice] fixguard.py

2010-10-07 Thread Michael Meeks
On Tue, 2010-10-05 at 22:04 -0600, calla...@xmission.com wrote: > Thanks for checking that last batch in. Here is the next pattern to > run through fixguard.py which picks up all of the guarded includes > that are commented out. > > exp = '//.*#ifndef.*_(?:H|HXX|HRC|HPP)_*[ > \t]*\/*.*\n(/