You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by kn...@apache.org on 2002/01/02 21:09:11 UTC
cvs commit: xml-xerces/c/src/util/regx RegularExpression.cpp
knoaman 02/01/02 12:09:11
Modified: c/src/util/regx RegularExpression.cpp
Log:
Fix for regular expression patterns that begin with ".".
Revision Changes Path
1.6 +3 -9 xml-xerces/c/src/util/regx/RegularExpression.cpp
Index: RegularExpression.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/regx/RegularExpression.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- RegularExpression.cpp 9 Oct 2001 12:20:25 -0000 1.5
+++ RegularExpression.cpp 2 Jan 2002 20:09:11 -0000 1.6
@@ -56,6 +56,9 @@
/*
* $Log: RegularExpression.cpp,v $
+ * Revision 1.6 2002/01/02 20:09:11 knoaman
+ * Fix for regular expression patterns that begin with ".".
+ *
* Revision 1.5 2001/10/09 12:20:25 tng
* Leak fix: Need to delete fMatch if adopted.
*
@@ -1174,15 +1177,6 @@
XMLMutexLock lockInit(&fMutex);
compile(fTokenTree);
-
- if (fOperations->getOpType() == Op::CLOSURE &&
- fOperations->getChild()->getOpType() == Op::DOT) {
-
- Op* anchor = fOpFactory.createAnchorOp(isSet(fOptions, SINGLE_LINE) ? chLatin_A
- : chAt);
- anchor->setNextOp(fOperations);
- fOperations = anchor;
- }
fMinLength = fTokenTree->getMinLength();
fFirstChar = 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org