mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: 6
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object testDictRegex;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
#inputMode merge
|
|
|
|
".*" parentValue1;
|
|
"[n-z].*" parentValue2;
|
|
"f.*" parentValue3;
|
|
keyX parentValue4;
|
|
keyY parentValue5;
|
|
|
|
"(.*)Dict"
|
|
{
|
|
foo subdictValue0;
|
|
// bar $f.*; // should this really match 'foo'?
|
|
|
|
// result is dependent on insert order!
|
|
"a.*c" subdictValue3;
|
|
"ab.*" subdictValue2;
|
|
"a.*" subdictValue1;
|
|
abcd \1;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|