Precompilation for lookup patterns

Moves the responsibility for precompiling the lookup patterns for the
static data modules into the data package itself. This still allows
access to the pattern that made the regular expression object via its
'pattern' data member.