In the regular expression implementation, clean up the creation and use of UnicodeSets.
Several are created from pattern strings. It would be faster to create directly from properties.
The code predates set freezing. Do it where appropriate.
Remove the ascii fast path code, not necessary with frozen sets.
Some sets are created once and shared, others are recreated each time they are needed. Probably should share whenever possible, probably with lazy creation.