From: wolf Date: Mon, 12 Jul 2004 13:52:33 +0000 (+0000) Subject: Refine regex for TODO list. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7794f6662a80d96f21953aeac6668503d5c45895;p=dealii-svn.git Refine regex for TODO list. git-svn-id: https://svn.dealii.org/trunk@9498 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/Makefile b/deal.II/Makefile index 7e850fe735..380c6eb9e3 100644 --- a/deal.II/Makefile +++ b/deal.II/Makefile @@ -116,8 +116,8 @@ TODO: $D/lac/include/*/*.h $D/lac/source/*.cc \ $D/deal.II/include/*/*.h $D/deal.II/source/*/*.cc \ | perl -pi -e 's#$D/?#\n#;' \ - | perl -pi -e 's#(.*)(TODO:?)(\[.+\])#\3 \1\2\3#i;' \ - | perl -pi -e 's#\s*//\s*TODO:?\s*(\[.+\]):?\s*#\n\1 #i;' \ + | perl -pi -e 's#(.*)(TODO:?)(\[[^\]]+\])#\3 \1\2\3#i;' \ + | perl -pi -e 's#\s*//\s*TODO:?\s*(\[[^\]]+\]):?\s*#\n\1 #i;' \ > $@