[Doxygen-users] @namespace parsing issue with hyphenated names
Brought to you by:
dimitri
From: Raashid A. <ans...@ya...> - 2017-09-14 18:20:32
|
Hi All, I have built a parser for ASN.1 in Python. I use it to convert ASN.1 code to C++ish code. In ASN.1 you have a module name that encloses all other relevant structures in it, like a C++ namespace. I am using the @namespace command to tell Doxygen to parse the module name as the namespace. The problem arises when a module name contains hyphens in it, e.g. "@namespace FileTransfer-profiles". My parser parses this using the regex: (?<=@namespace\s)[^\s-]+ Meaning it should return one to any number of characters on the same line that is not a space after @namespace. The parser's output in the above example is "FileTransfer-profiles". However, when I open Doxygen created documentation, all I see is "FileTransfer". Am I missing something here? What can I do so that Doxygen gives me the whole module name with hyphens. Regards, Raashid |