cosmetic changes

This commit is contained in:
Mark Olesen
2008-12-10 13:34:52 +01:00
parent d017697b04
commit 4aaa07cc14
2 changed files with 11 additions and 6 deletions

View File

@ -1,4 +1,3 @@
xferListTest.C xferListTest.C
/* EXE = $(FOAM_USER_APPBIN)/xferListTest */ EXE = $(FOAM_USER_APPBIN)/xferListTest
EXE = ./xferListTest

View File

@ -26,8 +26,14 @@ Class
Foam::regExp Foam::regExp
Description Description
Wrapper around regular expressions. Wrapper around POSIX extended regular expressions.
The beginning-of-line and end-of-line anchors are added by default.
The beginning-of-line (^) and the end-of-line ($) anchors are implicit
by default.
SeeAlso
The manpage regex(7) for more information about POSIX regular expressions.
These differ somewhat from @c Perl and @c sed regular expressions.
SourceFiles SourceFiles
regExp.C regExp.C
@ -95,14 +101,14 @@ public:
//- Return the number of (groups) //- Return the number of (groups)
int ngroups() const; int ngroups() const;
//- Return true if matches, partial matches are optional //- Return true if it matches, partial matches are optional
bool match bool match
( (
const string&, const string&,
bool partialMatch=false bool partialMatch=false
) const; ) const;
//- Return true if matches and sets sub-groups matched, //- Return true if it matches and sets the sub-groups matched,
// partial matches are optional // partial matches are optional
bool match bool match
( (