fixes #231, can now override regexp properties