Sharing a regular expression between modules

I have added a regex for email address validation in my Administration module, and now also wish to validate emails in another module. Obviously, I wish to use a single regex rather than duplicating it. How can I acheive this in the 2.5.0-rc2? I see references to shared project resources in 2.4, but can't find a way to enable to share in 2.5. Thanks Phil Edited note: The migration from 2.4 to 2.5 is noted as creating a Shared module for any project resources (including regexes).
1 answers

As far as i know, it is currently not possible. I suggest filing a feature request in the partner portal