#pragma interface
#endif
-#include <vector>
-using std::vector;
-using std::pair;
-
#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;