It is known that interstellar gas has a fractal structure in a wide range of spatial scales with a fractal dimension that seems to be a constant around D_f_~2.7. It is expected that stars forming from this fractal medium exhibit similar fractal patterns. Here we address this issue by quantifying the degree to which star-forming events are clumped. We develop, test, and apply a precise and accurate technique to calculate the correlation dimension Dc of the distribution of HII regions in a sample of disk galaxies.