From 4aaa07cc149c42017ccaf2537d583966b67459d0 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Wed, 10 Dec 2008 13:34:52 +0100 Subject: [PATCH] cosmetic changes --- applications/test/xfer/Make/files | 3 +-- src/OSspecific/Unix/regExp.H | 14 ++++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/applications/test/xfer/Make/files b/applications/test/xfer/Make/files index 92414c039e..d3c1cd8ac2 100644 --- a/applications/test/xfer/Make/files +++ b/applications/test/xfer/Make/files @@ -1,4 +1,3 @@ xferListTest.C -/* EXE = $(FOAM_USER_APPBIN)/xferListTest */ -EXE = ./xferListTest +EXE = $(FOAM_USER_APPBIN)/xferListTest diff --git a/src/OSspecific/Unix/regExp.H b/src/OSspecific/Unix/regExp.H index 8d28849bab..60ac68a3c2 100644 --- a/src/OSspecific/Unix/regExp.H +++ b/src/OSspecific/Unix/regExp.H @@ -26,8 +26,14 @@ Class Foam::regExp Description - Wrapper around regular expressions. - The beginning-of-line and end-of-line anchors are added by default. + Wrapper around POSIX extended regular expressions. + + 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 regExp.C @@ -95,14 +101,14 @@ public: //- Return the number of (groups) int ngroups() const; - //- Return true if matches, partial matches are optional + //- Return true if it matches, partial matches are optional bool match ( const string&, bool partialMatch=false ) 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 bool match (