I'd say it was a water pepper, Persicaria sp, but wouldn't like to commit to a species. The water peppers usually have a slightly drooping flower spike, and P. minor has leaves less than 10mm wide. The other feature for identification is the taste: is it hot and peppery or not?