Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions include/reflex/absmatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,6 @@ class AbstractMatcher {
}
return *this;
}

/// Returns nonzero capture index (i.e. true) if the entire input matches this matcher's pattern (and internally caches the true/false result to permit repeat invocations).
inline size_t matches()
/// @returns nonzero capture index if the entire input matched this matcher's pattern, zero (i.e. false) otherwise
Expand Down Expand Up @@ -1691,7 +1690,7 @@ class PatternMatcher : public AbstractMatcher {
delete pat_;
}
/// Assign a matcher, the underlying pattern object is shared (not deep copied).
virtual PatternMatcher& operator=(const PatternMatcher& matcher) ///< matcher with pattern to use (pattern may be shared)
PatternMatcher& operator=(const PatternMatcher& matcher) ///< matcher with pattern to use (pattern may be shared)
{
scan.init(this, Const::SCAN);
find.init(this, Const::FIND);
Expand Down Expand Up @@ -1842,7 +1841,7 @@ class PatternMatcher<std::string> : public AbstractMatcher {
delete pat_;
}
/// Assign a matcher, the underlying pattern string is shared (not deep copied).
virtual PatternMatcher& operator=(const PatternMatcher& matcher) ///< matcher with pattern to use (pattern may be shared)
PatternMatcher& operator=(const PatternMatcher& matcher) ///< matcher with pattern to use (pattern may be shared)
{
scan.init(this, Const::SCAN);
find.init(this, Const::FIND);
Expand Down
2 changes: 1 addition & 1 deletion include/reflex/matcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class Matcher : public PatternMatcher<reflex::Pattern> {
}
using PatternMatcher::operator=;
/// Assign a matcher, the underlying pattern string is shared (not deep copied).
virtual Matcher& operator=(const Matcher& matcher) ///< matcher to copy
Matcher& operator=(const Matcher& matcher) ///< matcher to copy
{
PatternMatcher<reflex::Pattern>::operator=(matcher);
ded_ = matcher.ded_;
Expand Down
Loading