Community
    • 登入

    how is npp's regex different from https://regex101.com/ regex?

    已排程 已置頂 已鎖定 已移動 Notepad++ & Plugin Development
    24 貼文 5 Posters 7.7k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Alan KilbornA
      Alan Kilborn @Eko palypse
      最後由 編輯

      @Eko-palypse said:

      If you want to use the regex within a PythonScript plugin then RegexTester matches 100%

      This is because RegexTester is written in Pythonscript itself, and calls the regex engine of Pythonscript, which is NOT the Python regex engine.

      I have done some research and it is my understanding from reading some earlier postings here as well as the product description, that Regex Buddy is the best regex tester, but it is not free. It can directly use the Boost regex engine that is a close to what is in Notepad++ as one can get. Regarding not free: It depends how much time you waste having regex problems currently. It does not take much time of that sort before such a program pays for itself. And so we’re clear, I have no affiliation with Regex buddy.

      Meta ChuhM 1 條回覆 最後回覆 回覆 引用 4
      • Meta ChuhM
        Meta Chuh moderator @Alan Kilborn
        最後由 編輯

        off topic, but important: @Alan-Kilborn

        could you please have a look at this topic link below ?

        https://notepad-plus-plus.org/community/topic/17072/new-enhancement-for-user-defined-language-system/15

        this is very strange, as the nodebb db got scrambled somehow.
        it was the topic where we were talking about udl manuals, and one of your posts disappeared.

        further more, the id’s got mixed up and out of alignment, so that instead of your post, we see rddim.

        and most weird thing: my answer to your post has your name now, which is completely out of context.

        afaik i suppose that it wasn’t done by the mods, as there was no reason what so ever to delete any of the posts, especially not yours.

        did you by any chance accidentally or willingly delete it yourself ?
        if yes, there could be some sort of bbs db bug.

        note: please don’t delete this “hybrid post mixup”, because it is not yet known, if someone might need it for any investigations.
        i’ve already notified don & co. about that.

        Alan KilbornA 1 條回覆 最後回覆 回覆 引用 1
        • Alan KilbornA
          Alan Kilborn @Meta Chuh
          最後由 編輯

          @Meta-Chuh

          Strange indeed. I deleted nothing, accidentally or willingly. I do now see that a posting that is clearly authored by you is attributed to me. Maybe I look smart now. :)

          1 條回覆 最後回覆 回覆 引用 3
          • V S RawatV
            V S Rawat @Eko palypse
            最後由 編輯

            @Eko-palypse

            I use regex in npp as a normal text cleaning. removing unwanted text, breaking lines at certain places “, ; . etc.”, joining them back after certain processing.

            I don’t use regex in pythonscript, because I don’t know much of pythonscript.

            several things I do is repetitive, I have to do the same set, with slight changes for numbers, etc., to break the text again and again, and join back again and again after processing, that’s why I had thought to make pythonscripts for repeated use, and I had installed the plugin.

            But I tried for somedays and couldn’t make much headway so I gave up. Now only one pythonscript is there for repeated things.

            some day I will gather courage again to learn pythonscript, till then it is find-replace regex on text.

            1 條回覆 最後回覆 回覆 引用 0
            • 第一個貼文
              最後的貼文
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors