Bug: Search/Replace All does not replace all
-
For example, paste the following into Notepad++, then press Ctrl-H, search for double-quote “, and replace with backslash-double-quote \”, pick Replace All. Note that not all are replaced.
Notepad++ x64 v7.8.4
TEST EXAMPLE:
{
“elements”: [
{
“name”: {
“locale”: {
“country”: “US”,
“language”: “en”
},
“value”: “Sacramento, California Area”
},
“country”: “urn:li:country:us”,
“id”: 82,
“$URN”: “urn:li:region:82”,
“states”: [
“urn:li:state:(urn:li:country:us,CA)”,
“urn:li:state:(urn:li:country:us,NV)”
]
},
{
“name”: {
“locale”: {
“country”: “US”,
“language”: “en”
},
“value”: “San Francisco Bay Area”
},
“country”: “urn:li:country:us”,
“id”: 84,
“$URN”: “urn:li:region:84”,
“states”: [
“urn:li:state:(urn:li:country:us,CA)”
]
},
…
],
“paging”: {
“count”: 10,
“start”: 0
}
} -
Works fine for me. Maybe more details about what you are doing (screenshot?) and what you are ending up with?
-
@Jay-Imerman said in Bug: Search/Replace All does not replace all:
Note that not all are replaced.
This makes me suspect that the replacements are all after the current
caret position and you haven’t checked wrap around, is that right? -
Hello, @jay-imerman and All,
And, if you run this S/R, using the
Regular expression
search mode, you must adopt this syntax :SEARCH
"
REPLACE
\\"
because the Escape
\
is a special regex character and needs to be escaped, itself, with an other\
symbol, to be taken as a literal !Best Regards,
guy038