docs: fix several doxygen errors

Change-Id: If86c628b2b794cba0e3697bfe1d88ce752104ce1
Refs: #3210
diff --git a/src/util/regex/regex-component-matcher.hpp b/src/util/regex/regex-component-matcher.hpp
index 288f71f..08cefdb 100644
--- a/src/util/regex/regex-component-matcher.hpp
+++ b/src/util/regex/regex-component-matcher.hpp
@@ -47,7 +47,7 @@
   virtual
   ~RegexComponentMatcher()
   {
-  };
+  }
 
   virtual bool
   match(const Name& name, size_t offset, size_t len = 1);
@@ -55,7 +55,6 @@
 protected:
   /**
    * @brief Compile the regular expression to generate the more matchers when necessary
-   * @returns true if compiling succeeds
    */
   virtual void
   compile();