How to search and replace

Dan Track dan.track at gmail.com
Fri Feb 3 09:47:51 UTC 2006


Hi Paul,

Just wondering if you could exaplin something to me:

1) What does the following mean in plain english ^\(Target\[[^]]*\].
I'm getting confused by the number of "[" brackets. To be specific I
can't see how this part \[[^]]*\] is working. The \[ indicates the
match to the "[" string but what I read from [^]] here is that I want
the regular expression to match any of these ^] charaters. But there
isn't a ^ charater or a ].

2) What does $!N mean.

Thanks
Dan




More information about the fedora-list mailing list