Community
    • Login

    Bug - replace with \K

    Scheduled Pinned Locked Moved General Discussion
    regexbugregex
    1 Posts 1 Posters 726 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dmitry SmirnovD
      Dmitry Smirnov
      last edited by

      Hi, I’ve noticed that replace do not work if I search with \K.
      Please try this: 000000
      Search 0\K0
      Replace x
      But it works if I use “replace all” or if there is only one occurrence, so 0000\K0 works with regular “replace”

      Presented in 6.8.1@win10 and 7.5.4@win7/10

      Btw thanks for a great app!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors