meaning of .*
Can any one pls tell meaing of ".*" . it has been used in many files .
for ex: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.2 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -3 0 0 0 0]; internalField uniform 0.01; boundaryField { ".*":confused: { type calculated; value uniform 0.01; } } // ************************************************** *********************** // |
means all patches ;)
|
Hi,
To be more precise (as you can meet .* in other files without any connection to patches), it is regular expression, dot means "any character", star means "0 or more repetitions". So any string matches this pattern. |
All times are GMT -4. The time now is 07:39. |