Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Announcing Perl-based automation of Notepad++

by Anonymous Monk
on Feb 25, 2020 at 03:37 UTC ( #11113380=note: print w/replies, xml ) Need Help??


in reply to Announcing Perl-based automation of Notepad++

Hi,

So what is the use case?

  • Comment on Re: Announcing Perl-based automation of Notepad++

Replies are listed 'Best First'.
Re^2: Announcing Perl-based automation of Notepad++
by pryrt (Monsignor) on Feb 25, 2020 at 14:09 UTC
    So what is the use case?

    Replacing the PythonScript plugin with a real programming language. ;-)

    Notepad++ has some excellent features -- it's got a Boost regex engine, and a simple macro language. However, there are cases when those tools aren't quite sufficient for the task at hand: often, those include things when you need loops (perform the same set of actions many times), or when the search term and/or replacement sequence should be algorithmically generated: in the Notepad++ Community forum, we often see requests for "how to I replace all of these matching numbers with 1 plus the number" or "how do I replace these with a random number or random string" or similar tasks. You cannot do those in the standard Boost-based search-and-replace dialog, but could easily be done in Perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11113380]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2021-01-16 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?