Skip to content

Commit b69f7b0

Browse files
committed
String replaceAll() change.
1 parent 8b38bdf commit b69f7b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/gssql.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7386,8 +7386,8 @@ class TableData { // skipcq: JS-0128
73867386
// regular expression pattern
73877387
const regexPattern = new RegExp(
73887388
`^${pattern
7389-
.replace(/\?/g, ".")
7390-
.replace(/\*/g, ".*")}$`
7389+
.replaceAll(/\?/g, ".")
7390+
.replaceAll(/\*/g, ".*")}$`
73917391
);
73927392

73937393
// Test if the text matches the

src/TableData.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ class TableData { // skipcq: JS-0128
337337
// regular expression pattern
338338
const regexPattern = new RegExp(
339339
`^${pattern
340-
.replace(/\?/g, ".")
341-
.replace(/\*/g, ".*")}$`
340+
.replaceAll(/\?/g, ".")
341+
.replaceAll(/\*/g, ".*")}$`
342342
);
343343

344344
// Test if the text matches the

0 commit comments

Comments
 (0)