mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Add the OpenFOAM source tree
This commit is contained in:
33
applications/test/wordRe/testRegexps
Normal file
33
applications/test/wordRe/testRegexps
Normal file
@ -0,0 +1,33 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ 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" )
|
||||
)
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
Reference in New Issue
Block a user