![]() Ctrl-x Ctrl-e evaluates the previous lisp code. ![]() For crunching data from one format to another, I write little combinations of regular expressions and elisp right in the same buffer as the data I'm transforming. One other thing that I feel compelled to mention is emacs. Regular Expressions are not a programming language, so I suppose that's technically not an answer to your question, but Awk is a complete language and it rocks for one-off text processing. Once you know Regex, you can do amazing things with awk (gawk), sed, and grep, or really with any modern programming language. It starts slow, but speeds up quickly and really has everything you need to know about Regex. There is a wonderful book on regex, Mastering Regular Expressions by Jeff Friedl. Most programming languages support them including PHP. Regex is a small technology that you can master in a week or two (1-2 hours/day), but it's so useful that it will pay off that investment of time on the first project you use it on.
0 Comments
Leave a Reply. |