Skip to content

Disable greedy mode when matching filename

Jan Provaznik requested to merge jprovazn-null-byte into master

What does this MR do?

When parsing search results from file or blob content search, filename and content are split by a \x00\d+\x00/ delimiter. If the delimiter is present multiple times in the content, then filename contains longest possible regexp match, but in this case we want shortest match.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #44784 (closed)

Merge request reports