]> git.lyx.org Git - lyx.git/blobdiff - src/support/LRegex.h
more changes read the ChangeLog
[lyx.git] / src / support / LRegex.h
index 5b33f72d8b001613c13d83f28d41434ee9f82f26..ae1d41b4489b2f5f619770bda2350ccdbc0c51a8 100644 (file)
@@ -19,6 +19,7 @@
 class LRegex {
 public:
        ///
+       explicit
        LRegex(string const & regex);
 
        ///
@@ -37,10 +38,10 @@ public:
        bool exact_match(string const & str) const;
 
        ///
-       MatchPair first_match(string const & str) const;
+       MatchPair const first_match(string const & str) const;
 
        ///
-       string getError() const;
+       string const getError() const;
 
        ///
        int getErrorCode() const;