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 expressionsearch 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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login