validate: Place regex flags at the start of the regex
In Python 3.11 it is an error to have regex flags in the middle of an expression, so make sure they appear at the start.
Fixes #1630 (closed)
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
In Python 3.11 it is an error to have regex flags in the middle of an expression, so make sure they appear at the start.
Fixes #1630 (closed)