I've never pulled anything while doing dynamic stretching before. Were you warmed up before hand?
I actually did an experiment this year in regards to stretching. Previously, I always did static stretching before sports. Every single year, I pulled my hammie. This year, I did NO static stretching at all, and opted to do a brief warm up, then some dynamic stretching of my legs. Didn't pull anything at all.