]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Refine regex for TODO list.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 12 Jul 2004 13:52:33 +0000 (13:52 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 12 Jul 2004 13:52:33 +0000 (13:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@9498 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/Makefile

index 7e850fe7354f8eae8fa5031b0e331c1c292817a4..380c6eb9e351c0105b63bf9c5690e0b40b78fc74 100644 (file)
@@ -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;' \
              > $@
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.