CLI2: Removed unused ::isSubstitution method

This commit is contained in:
Paul Beckingham 2015-06-20 09:51:01 -07:00
parent 014baa4622
commit 2d453f5f88
2 changed files with 0 additions and 15 deletions

View file

@ -2029,20 +2029,6 @@ bool CLI2::isUUIDList (const std::string& raw) const
return false;
}
////////////////////////////////////////////////////////////////////////////////
// The non-g case is caught by ::isPattern, but not categorized, so it doesn't
// matter.
bool CLI2::isSubstitution (const std::string& raw) const
{
if (raw.length () > 3 && // /x// = length 4
raw[0] == '/' &&
raw[raw.length () - 2] == '/' &&
raw[raw.length () - 1] == 'g')
return true;
return false;
}
////////////////////////////////////////////////////////////////////////////////
// Covers attribute and attribute modifiers.
// <attr>.[~]<mod>[:=]...