]> git.lyx.org Git - lyx.git/blobdiff - src/support/LRegex.h
Fix the line-delete-forward bug?
[lyx.git] / src / support / LRegex.h
index 4380423038ccca353a9c8c3544845aa276dacae6..3ca19d409ab29da5d5b5b5eee4c759c3e8ede3f7 100644 (file)
 #include "LString.h"
 
 #include <vector>
-using std::vector;
-using std::pair;
 
 ///
 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;