5
Please allow us to set flags when building regex expressions for custom restrictions. The example below does not work, we get an error that says "enter a valid regular expression" when we input the (?i) flag for case insensitive.
^[A-Za-z0-9._%+-]+@(?i)gmail.com$
Currently we have to use a more painful work around like this
^[A-Za-z0-9._%+-]+@[gG][mM][aA][iI][lL]([\.])[cC][oO][mM]$
^[A-Za-z0-9._%+-]+@(?i)gmail.com$
Currently we have to use a more painful work around like this
^[A-Za-z0-9._%+-]+@[gG][mM][aA][iI][lL]([\.])[cC][oO][mM]$
STATUS DETAILS
Needs Votes