regex + sbackup

Darryl Clarke smartssa at gmail.com
Tue Feb 14 23:05:27 UTC 2006


On 14/02/06, dave s <ubuntu at pusspaws.net> wrote:
>

> > > > /home/[^/]+?/\.thumbnails

> > > /home/dave/test/^data$

> > /home/[^/]+?/\data

> /home/dave/test/[^/]+?/\data

[snipped a bunch of stuff]

In the first example the \.thumbnails the \ is escaping the . in .thumbnails
it is not required in the samples that include data.

/home/dave/test/[^/]+?/data

should be the proper regex.

--
~ Darryl  ~ smartssa at gmail.com
~ http://darrylclarke.com




More information about the ubuntu-users mailing list