This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kate 3.22, regex back reference

Tags: None
(comma "," separated)
dusk2dawn
Registered Member
Posts
2
Karma
0
OS

kate 3.22, regex back reference

Fri Aug 21, 2009 11:00 am
I'm trying to insert a handful of spaces or a tab in a string.

I search for - and find - " {3}RW[0-9]{2}".

Now, how do I replace the search string with the same search string + a
handful of spaces or a tab?

I cannot understand the KDE Help Centers explanation on back reference

Any suggestions?
dusk2dawn
Registered Member
Posts
2
Karma
0
OS

Re: kate 3.22, regex back reference

Fri Aug 21, 2009 12:41 pm
In a.o.l.ubuntu Marcel Bruinsma wrote:

> > Where sed and awk use '\&' in the replacement string,
> > Kate apparently expects '\0'. Hence, '\0\t' ought to
> > append a tab character to the matched text.

and that works in my installation o)


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]