[Lazarus] new edit icon in gutter?
Henry Vermaak
henry.vermaak at gmail.com
Wed Aug 5 17:37:34 CEST 2009
2009/8/5 Graeme Geldenhuys <graemeg at opensoft.homeip.net>:
> Martin wrote:
>>
>> Maybe you know, maybe not, anyway, just a tip.
>
> Maybe not! :-) I must *really* take the time to learn to understand and
> write regex. Any tips on how I can learn regex? A good book or article on
> the internet? Is there a tool that one can use to test/debug a regex before
> running it for real? I work under Linux, but I guess a Windows tool will do
> as well - as long as it can run under WINE.
sed is good for messing around with, or if you know vi, you can use
:s/regex/replacement/. Use "u" to undo, refine the regex, try again,
etc. Then if you're sure it works, just go :%s/regex/replacement/g,
which will do it for every line in the file.
Henry
More information about the Lazarus
mailing list