Get regex compiler using more attrs, less dynamics

Improves performance a bit further, since attribute lookups can be
far cheaper (and will JIT better).
Avoid repeated $*REGALLOC lookups.

Especially helpful in list-constructing loops.