I want to search and replace many numbers in the range 0-9 and add them to them, so they become in the range 1-10 instead.
e.g. 0 3 5
becomes: 1 4 6
In the eclipse search / replace window, I can match the number with ^ ([0-9] +) $
In the replace field, can I somehow add to the matching number $ 1?
/ G
No, there is no way to specify a callback / macro function that you need to change the first group ($ 1) or any of the results this way.
Maybe there is a plugin that will enable this, but I currently don't know about it.
jEdit, script ( , , ).
Source: https://habr.com/ru/post/1703948/More articles:TSQL function to determine the difference between two dates, taking into account weekends and holidays - datetimeOutOfMemoryException on the mobile device - .netCan Windows Authentication be used with PHP in IIS for ODBC connections? - authenticationPHP and MS Access - phpGIve me short cut for visual studio 2008 IDE - visual-studio-2008Should I Learn SharePoint 2007? - sharepointWhat would be the best way to introduce you to the project? - projectnant: extending properties in a string - nantExporting a class from an executable in dll - c ++How to implement your security policy in the Java program itself - javaAll Articles