Like many, I ended up memorizing the pattern at some point, and then typing it from memory.
My editor had templates and snippets. Very lux in 2000.