civil action with respect to prison conditions

(2) the term “civil action with respect to prison conditions” means any civil proceeding arising under Federal law with respect to the conditions of confinement or the effects of actions by government officials on the lives of persons confined in prison, but does not include habeas corpus proceedings challenging the fact or duration of confinement in prison;


18 USC § 3626(g)(2)

Scoping language

As used in this section
Is this correct? or