]> git.lyx.org Git - lyx.git/blobdiff - src/support/LRegex.h
Small things in my tree.
[lyx.git] / src / support / LRegex.h
index ebafc8540241f7c367eca3664aafe37409308773..3ca19d409ab29da5d5b5b5eee4c759c3e8ede3f7 100644 (file)
 #pragma interface
 #endif
 
-#include <vector>
-
 #include "LString.h"
 
+#include <vector>
+
 ///
 class LRegex {
 public:
        ///
+       explicit
        LRegex(string const & regex);
 
        ///
        ~LRegex();
 
        ///
-       typedef pair<string::size_type, string::size_type> MatchPair;
+       typedef std::pair<string::size_type, string::size_type> MatchPair;
 
        ///
-       typedef vector<MatchPair> SubMatches;
+       typedef std::vector<MatchPair> SubMatches;
 
        /// Returns all the matches in a vector
        SubMatches const & exec(string const & str) const;