hello, yes that's my post :-)
hello, yes that's my post :-) Il 17.05.2021 13:50 Sasumner ha scritto: It appears there may be a problem with the special casing stuff in Pythonscript...see https://github.com/bruderstein/PythonScript/issues/199 [1] serach reg exp [2] Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/npppythonscript/discussion/1188885/ [3] To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ [4] Con Tiscali Mobile Smart 30 4G hai minuti...
Taking the addition of "r" for granted so that my backslashes are processed by the regex engine, the problem of uppercase to lowercase characters with "\ L" remains. I doubt the correct syntax to bring everything in lowercase associated with group # 3: (\L$3) Is this correct? Thanks
hello, but the command editor.rereplace () unlike editor.replace () is not already addressed for the regex engine? if not what is the difference? thanks
hi all, I need to manipulate files looking for and modifying some tags, transforming capital letters where present into lowercase. For the search I used regular expressions. This regular expression works perfectly in the npp ++ search and replace command but does not work in a python script. The command in question is: editor.rereplace ("((\ /) *) ([a-zA-Z] +) ((\ d) +) "," $ 1 (\ L $ 3) $ 4 "). Suggestions? thanks