Community
    • 登入

    Regular Expression is working on my personal machine but not my work machine

    已排程 已置頂 已鎖定 已移動 Help wanted · · · – – – · · ·
    3 貼文 2 Posters 1.9k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Arvindran KalidasA
      Arvindran Kalidas
      最後由 編輯

      Hi there,

      I have the same Notepad++ version (7.2.2) installed on both my personal machine and my work machine but I can’t seem to run a simple regular expression search on my work machine. I used the exact same files on both but am able to only use the expression on my personal machine. Is there anything I need to setup/configure first to allow my work machine to use regular expressions?

      Note: I am able to perform simple regular expressions like \w, \d etc but I can’t seem to be able to use {m,n} to specify instance and certain characters like \n and \r.

      Cheers,
      Arvindran

      1 條回覆 最後回覆 回覆 引用 0
      • guy038G
        guy038
        最後由 編輯

        Hello, Arvindran Kalidas,

        I pretty sure that your work machine contains a very old version of Notepad++ :-)) I mean, before the v6.0. Indeed, all the prior versions to the 6.0 one, did NOT use the Boost regex library which is part of the recent N++ versions !

        So, the obvious solution is to upgrade, as soon as possible, all your work N++ versions !!

        Best Regards,

        guy038

        1 條回覆 最後回覆 回覆 引用 0
        • Arvindran KalidasA
          Arvindran Kalidas
          最後由 編輯

          Hi Guy038,

          Thank you for your response. I decided to update the Notepad++ version by uninstalling the version that was previously installed (which is weird because the previous version installed on the work machine was Notepad++ v7.2.2) and the REGEX function is working fine now.

          Cheers,
          Arvindran

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