SERVER-111150ClosedFixed

Use pcre_util::quoteMeta(...) in change streams code

Change streams code currently uses a function {{regexEscapeNsForChangeStream()}} to escape an input string for usage inside regexes. {{regexEscapeNsForChangeStream}} does not perform any change-stream specific things, so its calls should be replaced by calls to the [already existing {{pcre_util::quoteMeta()}} function|https://github.com/10gen/mongo/blob/c963454373c9ca3dc0a3ddadf950a1ca6499231c/src/mongo/util/pcre_util.h#L67].

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
8.3.0-rc08.0.37
Components
Server components related to this issue
Change streams
Labels
Tags and classification

No labels assigned.