"vscode:/vscode.git/clone" did not exist on "ba3c9a9a3a9cf76e4ff8292b66d7cc3206732627"
Commit 54b68230 authored by Jesse Beder's avatar Jesse Beder
Browse files

Small bug from switching static initialized regexes to lazy ones

parent 32491166
...@@ -81,7 +81,7 @@ namespace YAML ...@@ -81,7 +81,7 @@ namespace YAML
return e; return e;
} }
inline const RegEx& DocIndicator() { inline const RegEx& DocIndicator() {
static const RegEx e = DocStart || DocEnd; static const RegEx e = DocStart() || DocEnd();
return e; return e;
} }
inline const RegEx& BlockEntry() { inline const RegEx& BlockEntry() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment