docs: fix spelling in comments (#6002)

This commit is contained in:
hustrust
2025-11-12 21:23:45 +08:00
committed by GitHub
parent 2ebc2ca885
commit 5fc07e3979
12 changed files with 13 additions and 13 deletions

View File

@@ -30,7 +30,7 @@ Section::append(std::vector<std::string> const& lines)
// <key> '=' <value>
static boost::regex const re1(
"^" // start of line
"(?:\\s*)" // whitespace (optonal)
"(?:\\s*)" // whitespace (optional)
"([a-zA-Z][_a-zA-Z0-9]*)" // <key>
"(?:\\s*)" // whitespace (optional)
"(?:=)" // '='