/[pcre]/code/trunk/pcre_scanner.h
ViewVC logotype

Diff of /code/trunk/pcre_scanner.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 93 by nigel, Sat Feb 24 21:41:42 2007 UTC revision 308 by ph10, Mon Jan 21 14:57:19 2008 UTC
# Line 47  Line 47 
47  #include <assert.h>  #include <assert.h>
48  #include <string>  #include <string>
49  #include <vector>  #include <vector>
50    
51  #include <pcrecpp.h>  #include <pcrecpp.h>
52  #include <pcre_stringpiece.h>  #include <pcre_stringpiece.h>
53    
54  namespace pcrecpp {  namespace pcrecpp {
55    
56  class Scanner {  class PCRECPP_EXP_DEFN Scanner {
57   public:   public:
58    Scanner();    Scanner();
59    explicit Scanner(const std::string& input);    explicit Scanner(const std::string& input);
# Line 79  class Scanner { Line 80  class Scanner {
80    // If it returns true, it skips over the matched input and any    // If it returns true, it skips over the matched input and any
81    // following input that matches the "skip" regular expression.    // following input that matches the "skip" regular expression.
82    bool Consume(const RE& re,    bool Consume(const RE& re,
83                 const Arg& arg0 = no_arg,                 const Arg& arg0 = RE::no_arg,
84                 const Arg& arg1 = no_arg,                 const Arg& arg1 = RE::no_arg,
85                 const Arg& arg2 = no_arg                 const Arg& arg2 = RE::no_arg
86                 // TODO: Allow more arguments?                 // TODO: Allow more arguments?
87                 );                 );
88    

Legend:
Removed from v.93  
changed lines
  Added in v.308

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12