summaryrefslogtreecommitdiff
path: root/pcrecpp.cc
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-09-19 09:52:44 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-09-19 09:52:44 +0000
commit1b03b33d34bd6cc9a5b966db329ca84660c32241 (patch)
tree255c502be0360983464c637e08c13dc0f9df91d3 /pcrecpp.cc
parentd48aa6f5ee7622c3585fbe5abd21a933a49183af (diff)
downloadpcre-1b03b33d34bd6cc9a5b966db329ca84660c32241.tar.gz
File tidies caused by building a release.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@259 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcrecpp.cc')
-rw-r--r--pcrecpp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcrecpp.cc b/pcrecpp.cc
index e498d65..a0c2b83 100644
--- a/pcrecpp.cc
+++ b/pcrecpp.cc
@@ -354,7 +354,7 @@ static int NewlineMode(int pcre_options) {
else if (newline == -1)
newline_mode = PCRE_NEWLINE_ANY;
else if (newline == -2)
- newline_mode = PCRE_NEWLINE_ANYCRLF;
+ newline_mode = PCRE_NEWLINE_ANYCRLF;
else
assert("" == "Unexpected return value from pcre_config(NEWLINE)");
}
@@ -384,7 +384,7 @@ int RE::GlobalReplace(const StringPiece& rewrite,
// Note it's better to call pcre_fullinfo() than to examine
// all_options(), since options_ could have changed bewteen
// compile-time and now, but this is simpler and safe enough.
- // Modified by PH to add ANY and ANYCRLF.
+ // Modified by PH to add ANY and ANYCRLF.
if (start+1 < static_cast<int>(str->length()) &&
(*str)[start] == '\r' && (*str)[start+1] == '\n' &&
(NewlineMode(options_.all_options()) == PCRE_NEWLINE_CRLF ||