We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65d12d8 commit eaeeb3fCopy full SHA for eaeeb3f
src/Shared/Components/CICDHistory/LogsRenderer.tsx
@@ -220,7 +220,7 @@ const LogsRenderer = ({
220
// Search is working on assumption that color codes are not nested for words.
221
const logParts = log.split(ANSI_UP_REGEX)
222
const availableEscapeCodes = log.match(ANSI_UP_REGEX) || []
223
- const searchRegex = new RegExp(`(${escapeRegExp(targetSearchKey)})`, 'g')
+ const searchRegex = new RegExp(`(${escapeRegExp(targetSearchKey)})`, 'ig')
224
const parts = logParts.reduce((acc, part, index) => {
225
try {
226
// Question: Can we directly set it as true inside the replace function?
0 commit comments