mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Code Propagation
- Took a patch to tw from the clog version of Nibbler.
This commit is contained in:
parent
0288fd1ec9
commit
d6d9fbd8e7
2 changed files with 10 additions and 0 deletions
|
@ -1175,6 +1175,14 @@ bool Nibbler::skipRx (const std::string& regex)
|
|||
}
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void Nibbler::getRemainder (std::string& result)
|
||||
{
|
||||
if (_cursor < _length)
|
||||
result = _input.substr (_cursor);
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool Nibbler::skipAllOneOf (const std::string& chars)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue