regex + sbackup

dave s ubuntu at pusspaws.net
Fri Feb 17 07:02:05 UTC 2006


On Wednesday 15 Feb 2006 11:34, Toby Kelsey wrote:
> Carthik Sharma wrote:
> >>>This regex stuff is a dark art. I got the path thing now and it works (
> >>> a big thank you :)) but I still have one last regex problem.
> >>>
> >>> /home/dave/[^/]+?/data
> >>>
> >>>excludes the data directorys but also my 'data_process' directories
>
> Try
>
> /home/dave/[^/]+?/data[^_]
>
> (assuming there are no other data_* files).
>
> Toby

It worked ! 

In a more general form I tried [^.] but this excluded everything again but 
your solution worked :)

Thank you very much

cheers

dave




More information about the ubuntu-users mailing list