Search and replace does not find multiline strings #39261
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
search
Search widget and operation issues
Steps to Reproduce:
Description:
When searching for multi line strings it appears that the default behavior of the search is to strip newlines from the paste. This prevents the search function from matching the string and therefore prevents multi line search and replaces.
Steps to reproduce:
Text to be searched.
Search and Replace Box:
Code used:
`# tmp = ""
for r in relationships:
if r == relationships[-1]:
tmp = tmp + "\n\tnew ListItem() { Value = "" + r + "", Text = "" + r + "" }\n"
else:
tmp = tmp + "\n\tnew ListItem() { Value = "" + r + "", Text = "" + r + "" },"
out = "return new ListItem[] { " + tmp + " };\n"
print(out)`
Reproduces without extensions: Yes/No
The text was updated successfully, but these errors were encountered: