Skip to content

Commit

Permalink
Add debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
mikogs committed Oct 30, 2023
1 parent dfa4cc4 commit ed5b853
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions replace-string/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30063,6 +30063,7 @@ try {
if (inReplaceRegexArr.length > 1) {
for (i=0; i<inReplaceRegexArr.length; i++) {
const regex = new RegExp(inReplaceRegexArr[i], inFlags);
console.log('Replace '+regex+' with '+inReplaceWithArr[i])
strReplaced = strToReplace.replace(regex, inReplaceWithArr[i]);
}
} else {
Expand Down
1 change: 1 addition & 0 deletions replace-string/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ try {
if (inReplaceRegexArr.length > 1) {
for (i=0; i<inReplaceRegexArr.length; i++) {
const regex = new RegExp(inReplaceRegexArr[i], inFlags);
console.log('Replace '+regex+' with '+inReplaceWithArr[i])
strReplaced = strToReplace.replace(regex, inReplaceWithArr[i]);
}
} else {
Expand Down

0 comments on commit ed5b853

Please sign in to comment.