We are trying to migrate a bunch of users off an email domain which will cease to exist after a brand closure. To do this I have setup a Rule which ON event "User has logged in" IF "Textual comparison" DO "Show a configurable message on the site".
The Textual comparison is working with [account:mail], (@domain\.com$) however this is only working for users who have entered their email address all in lower case. This means the Rule does not trigger for users who have entered "@Domain.com" or "@DOMAIN.COM"
Updating the regex to include the i operator: (@domain\.com$)i stops the Rule from working altogether...
I have tried many regex's but can not get round it... I am guessing this is a bug?
PS; love Rules!
Comments
Comment #0.0
westie commentedupdated formatting
Comment #1
mitchell commentedThank you for submitting a support request / issue for Rules 1. Sorry it was not attended to earlier; I hope you found the information you were seeking in another resource, such as the Rules Drupal 6 documentation.
Because it has been a while since it was first submitted, I'm closing it to clear up space. However, if you would still like to submit another support request or help answer others support requests, your efforts would be welcomed and appreciated.
Comment #1.0
mitchell commentedupdated details to be a little more informative