Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / applications / test / regex / testRegexps
blob1ccb6f8dcd13ccf4619c85e183af8e3610be2920
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
4 |  \\    /   O peration     | Version:  2.0.0                                 |
5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
6 |    \\/     M anipulation  |                                                 |
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 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //