To match '.' don't you need to use '\.' or [.] ?
In reply to Re^3: Can't remove directory-Permission denied (knot) by Lotus1 in thread Can't remove directory-Permission denied by rrrrr