Let X be a subshift satisfy non-uniform structure, and σ : X → X be a shift map. Further, define R(ψ) := {x ∈ X : d(σ n x, x) < ψ(n) for infinitely many n} and R(f ) := {x ∈ X : d(σ n x, x) < e Snf (x) for infinitely many n}, where ψ : N → R + is a nonincreasing and positive function, and f : X → R + is a continuous positive function. In this paper, we give quantitative estimate of the above sets, that is, dim H R(ψ) can be expressed by ψ and dim H R(f ) is the solution of the Bowen equation of topological pressure. These results can be applied to a large class of symbolic systems, including β-shifts, S-gap shifts and their factors.