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



  • 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



  • 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



  • 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


Log in to reply