Files
OpenFOAM-6/applications/test/wordRe/testRegexps
2018-07-09 15:58:01 +01:00

34 lines
1002 B
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// wordRe, string
(
( "a.*" "abc" )
( "a.*" "bac" )
( "A.*" "abcd" )
( "a.*" "ABCD" )
( "a.*" "def" )
( "d(.*)f" "def" )
( "plain" "def" )
( "plain" "def" )
( "plain\\(0\\)" "def" )
( "plain\(0\)" "ghi" )
( "regex(0)" "ghi" )
( "plain\\\(0\\\)" "ghi" )
( "this" "def" )
( "this" "this" )
( plain\\(0\\) "def" )
( plain\(0\) "ghi" )
( plain\\\(0\\\) "ghi" )
( "done" "done" )
)
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //