Fixed parsing ? when attached to a scalar
This commit is contained in:
parent
15b60e2a3b
commit
8c517bf0fd
@ -91,7 +91,7 @@ namespace YAML
|
|||||||
return e;
|
return e;
|
||||||
}
|
}
|
||||||
inline const RegEx& Key() {
|
inline const RegEx& Key() {
|
||||||
static const RegEx e = RegEx('?');
|
static const RegEx e = RegEx('?') + BlankOrBreak();
|
||||||
return e;
|
return e;
|
||||||
}
|
}
|
||||||
inline const RegEx& KeyInFlow() {
|
inline const RegEx& KeyInFlow() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user