initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / applications / test / regex / testRegexps
blob72287eea4344e36c0b9e9ca5ac50005a684ddc2a
1 /*-------------------------------*- C++ -*---------------------------------*\
2 |    =========                                                              |
3 |    \\      /     OpenFOAM                                                 |
4 |     \\    /                                                               |
5 |      \\  /       The Open Source CFD Toolbox                              |
6 |       \\/                                        http://www.OpenFOAM.org  |
7 \*-------------------------------------------------------------------------*/
9 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
11 // pattern, string
13     ( "a.*" "abc" )
14     ( "a.*" "bac" )
15     ( "a.*" "abcd" )
16     ( "a.*" "def" )
17     ( "d(.*)f" "def" )
18     ( " *([A-Za-z]+) *= *([^ /]+) *(//.*)?"   " keyword = value // settings" )
21 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //