Problems with regexps
Edward K. Ream
edreamleo at charter.net
Fri Nov 7 20:20:26 EST 2003
More information about the Python-list mailing list
Fri Nov 7 20:20:26 EST 2003
- Previous message (by thread): Problems with regexps
- Next message (by thread): Problems with regexps
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I've just added script-based find-changed commands to Leo 4.1 beta 1. So Leo can execute a script to find the next match, and optionally executes a script to do the replacement. This gives Leo the full power of languages like Icon or Snobol, using the plain Python language. There is a dead simple way for the find script to communicate with the change script, and for the find script to continue or not in the case of the Find All or Change All commands. BTW, scripts could search anywhere, not just in a Leo outline. For example, the find script could pull in the found text from any file to any Leo node (creating an outline node if you like). Etc. I'm very excited about this new feature. At long last we are not limited to non-extensible, wimpy tools like re. Fully interactive if you want; fully batch if you want. Undo is easy, etc. The sky is the limit, and when you are done, you will be able to understand the scripts you wrote. End of re. Yeah! Edward -------------------------------------------------------------------- Edward K. Ream email: edreamleo at charter.net Leo: Literate Editor with Outlines Leo: http://webpages.charter.net/edreamleo/front.html --------------------------------------------------------------------
- Previous message (by thread): Problems with regexps
- Next message (by thread): Problems with regexps
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list