1. Clean ex.err on Notepad++

I have created a macro to make clean.err a little bit more human friendly when edited with Notepad++: sequences appear as strings when possible.

To create the macro, select Start Recording in the Macro menu then select Replace... in the Search menu.

Fill the following regexp in the Find what field:

[0-9]+'(.)'[,\r\n]* 
Fill the following regexp result in the Replace with field:
\1 

Uncheck Match whole word only. Check Wrap around. State of Match case does not matter.

Select Regular expression as Search mode.

Click the button Replace All. Click the button Close. Select Stop Recording in the Macro menu then save the macro with Save Currently Recorded Macro... in the Macro menu.

When running the macro, lines as

    prefix = {91'[',69'E',82'R',82'R',79'O',82'R',93']',32' '} 
    title = {69'E',114'r',114'r',111'o',114'r'} 

become

    prefix = {[ERROR] } 
    title = {Error} 

Jean-Marc

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu