thread worm/parasite?

Observation - thread worm/parasite? - UK and Ireland. Description: early morning, damp rear garden backing onto woodland, heavy rain in night - soil damp. Two found. One writhing on soil and this one pictured at end of fuschia branch. It was actively moving, searching. I suspect it is a parasitic worm trying to get eaten

early morning, damp rear garden backing onto woodland, heavy rain in night - soil damp. Two found. One writhing on soil and this one pictured at end of fuschia branch. It was actively moving, searching. I suspect it is a parasitic worm trying to get eaten by a bird.