From b201feab96026876b02d60ea024350b0a420e9a0 Mon Sep 17 00:00:00 2001 From: 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() {