openfoam/applications/test/regex1/testRegexps2
2019-06-25 11:51:19 +01:00

24 lines
1.0 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1906 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Pattern, String
(
( true "(U|k|epsilon)" "U" )
( false "(U|k|epsilon)" "alpha" )
( true "ab.*" "abc" )
( true ".*" "abc" )
( true "div\(phi,alpha.*)" "div(phi,alpha.gas)" ) // quoting error
( true "div\(phi,alpha.*\)" "div(phi,alpha.gas)" )
( true "div\(phi,alpha\..*\)" "div(phi,alpha.gas)" )
)
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //