regex golf and related scripts