From 8c517bf0fd6c627ca4dfcdc84d932928a1527ac8 Mon Sep 17 00:00:00 2001 From: Jesse Beder Date: Thu, 8 Nov 2012 19:11:41 -0600 Subject: [PATCH] Fixed parsing ? when attached to a scalar --- src/exp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exp.h b/src/exp.h index 3e12aba..52bfd0a 100644 --- a/src/exp.h +++ b/src/exp.h @@ -91,7 +91,7 @@ namespace YAML return e; } inline const RegEx& Key() { - static const RegEx e = RegEx('?'); + static const RegEx e = RegEx('?') + BlankOrBreak(); return e; } inline const RegEx& KeyInFlow() {