Added stream input to the regular expressions, greatly simplifying the usage (in particular, we no longer have to specify the number of characters to be checked).

This commit is contained in:
beder
2008-06-27 19:07:30 +00:00
parent bb4bc8c4ae
commit aad36b8c47
4 changed files with 232 additions and 85 deletions

View File

@@ -71,8 +71,6 @@ namespace YAML
private:
char GetChar();
void Eat(int n = 1);
std::string Peek(int n);
void EatLineBreak();
bool IsWhitespaceToBeEaten(char ch);