You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documented regex creates an interesting range, viz. '+-_'. The actual Python text puts '-' at the end, which is good; also, it has the re.UNICODE option, which, I think, is worth mentioning in the docs, as it provides guidance when thinking about locales for \w.
The text was updated successfully, but these errors were encountered:
The docs say, in Username generation, that the regex for CLEAN_USERNAME is
r'[^\w.@+-_]+'
, whereas the code has (insocial.storage.base
)The documented regex creates an interesting range, viz. '+-_'. The actual Python text puts '-' at the end, which is good; also, it has the
re.UNICODE
option, which, I think, is worth mentioning in the docs, as it provides guidance when thinking about locales for\w
.The text was updated successfully, but these errors were encountered: