Search++ (\W)'(\w) regex replace failure
-
As noted in my post earlier today about an instance of regex replacement failure via Notepad++’s native find/replace functionality, I tried doing the same regex replacement in Search++, but got some bizarre results. As stated in my other post, I was doing this in ANSI text, using FIND WHAT string
(\W)'(\w)and REPLACE WITH string\1’\2. My initial text:this 'Cos I am that this 'Round and 'round thatConsidering your explanation to me in the other thread, I’m assuming my utilization of the same regex via your plugin may have been doomed to failure anyway, but… results after stepping through (one replacement at a time), first attempt:
this ?Cos I am that this -?-ound and-?-ound thatSecond attempt:
this -?-os I am that this ?Round and-?-ound thatAny idea what’s up with that?
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