common: make comment stripping faster
commit990bf3e79993a5627f80734dfdb84ed07889d460
authorStefan Sauer <ensonic@users.sf.net>
Sun, 21 May 2017 19:32:41 +0000 (21 21:32 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Sun, 21 May 2017 19:32:41 +0000 (21 21:32 +0200)
treecb1b793f1b3179b25559165a8fe64d0acb61aba0
parentd38f243ad6a812f3337f40c9e5165dfa97982e9c
common: make comment stripping faster

Extract preprocessing into a helper and replace the regexp for block comments.
Use a non-greedy match instead of the negative lookahead expression.
gtkdoc/common.py