mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: word::validated without underscore prefix by default (issue #518)
- this now appears to be the more common use case.
This commit is contained in:
@ -83,7 +83,8 @@ int main(int argc, char *argv[])
|
||||
Info<<"camel-case => " << (word("camel") & "case") << nl;
|
||||
for (const auto& s : { " text with \"spaces'", "08/15 value" })
|
||||
{
|
||||
Info<<"validated \"" << s << "\" => " << word::validated(s) << nl;
|
||||
Info<<"validated \"" << s << "\" => "
|
||||
<< word::validated(s, true) << nl;
|
||||
}
|
||||
Info<< nl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user