doxy: minor member comment regexp fixup
authordberzano <dario.berzano@cern.ch>
Tue, 9 Dec 2014 09:19:58 +0000 (10:19 +0100)
committerdberzano <dario.berzano@cern.ch>
Fri, 9 Jan 2015 15:01:06 +0000 (16:01 +0100)
doxygen/thtml2doxy_clang.py

index ff00e99..298e57c 100755 (executable)
@@ -215,7 +215,7 @@ def comment_datamember(cursor, comments):
       if cur_line == line_num:
         break
 
-  recomm = r'(//(!)|///?)<?\s*(\[(.*?)\])?\s*(.*?)\s*$'
+  recomm = r'(//(!)|///?)(\[(.*?)\])?<?\s*(.*?)\s*$'
 
   mcomm = re.search(recomm, raw)
   if mcomm: