review fixes
This commit is contained in:
@@ -23,10 +23,10 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef piregularexpression_h
|
||||
#define piregularexpression_h
|
||||
#ifndef PIREGULAREXPRESSION_H
|
||||
#define PIREGULAREXPRESSION_H
|
||||
|
||||
#include <pistring.h>
|
||||
#include "pistring.h"
|
||||
|
||||
class PIP_EXPORT PIRegularExpression {
|
||||
public:
|
||||
@@ -105,9 +105,11 @@ public:
|
||||
|
||||
Matcher match(const PIString & subject, size_t offset = 0);
|
||||
Matcher match(PIString & subject, size_t offset = 0);
|
||||
Matcher match(PIString && subject, size_t offset = 0);
|
||||
|
||||
Matcher makeMatcher(const PIString & subject, size_t offset = 0);
|
||||
Matcher makeMatcher(PIString & subject, size_t offset = 0);
|
||||
Matcher matchIterator(const PIString & subject, size_t offset = 0);
|
||||
Matcher matchIterator(PIString & subject, size_t offset = 0);
|
||||
Matcher matchIterator(PIString && subject, size_t offset = 0);
|
||||
|
||||
static PIRegularExpression fromGlob(const PIString & pattern, Options opt = None);
|
||||
static PIRegularExpression fromPOSIX(const PIString & pattern, Options opt = None);
|
||||
@@ -116,8 +118,8 @@ private:
|
||||
void convertFrom(const PIString & pattern, uint type, Options opt);
|
||||
|
||||
PRIVATE_DECLARATION(PIP_EXPORT)
|
||||
PIString pat_, subj_own;
|
||||
PIString pat_;
|
||||
Options opt_;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // PIREGULAREXPRESSION_H
|
||||
|
||||
Reference in New Issue
Block a user