What was horse racing like in the Regency era?

The novelette The Four-to-One Fancy is set against the backdrop of a risky horse racing venture. But what was horse racing like in the Regency era?