diff options
author | Judah Schvimer <judah@mongodb.com> | 2020-05-11 15:51:02 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-12 12:30:54 +0000 |
commit | 14bb6a661fc7a8b693613203693b8232c6f91944 (patch) | |
tree | 344577b09a00735b76f9576e69fe9eb43819f4bd | |
parent | 1417eee440b4132e24d1388011d681e2c9fcec41 (diff) | |
download | mongo-14bb6a661fc7a8b693613203693b8232c6f91944.tar.gz |
SERVER-48064 properly escape in pendingDropRegex
-rw-r--r-- | jstests/replsets/libs/two_phase_drops.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/libs/two_phase_drops.js b/jstests/replsets/libs/two_phase_drops.js index 5d638bcad88..aa8ec6eb570 100644 --- a/jstests/replsets/libs/two_phase_drops.js +++ b/jstests/replsets/libs/two_phase_drops.js @@ -149,7 +149,7 @@ class TwoPhaseDropCollectionTest { * 'collectionName' is the original collection name. */ static pendingDropRegex(collName) { - return new RegExp("system\.drop\..*\." + collName + "$"); + return new RegExp("system\\.drop\\..*\\." + collName + "$"); } /** |