mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
Fixed parsing ? when attached to a scalar
This commit is contained in:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user