X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=turbot%2Finteraction.py;h=13b8ebf00fd6a31ceb60757b076ff86f30421dcd;hb=4bca55ecc12eb56357e5a5279fece0adced30430;hp=ec64706658f3126bfc1974921d12e4cdece78ffe;hpb=6b701e209f77419ddf4a2a99f23801df6fb102ef;p=turbot diff --git a/turbot/interaction.py b/turbot/interaction.py index ec64706..13b8ebf 100644 --- a/turbot/interaction.py +++ b/turbot/interaction.py @@ -927,8 +927,8 @@ def tag(turb, body, args): tag = tag.upper() # Reject a tag that is not alphabetic or underscore A-Z_ - if not re.match(r'^[A-Z_]*$', tag): - return bot_reply("Sorry, tags can only contain letters " + if not re.match(r'^[A-Z0-9_]*$', tag): + return bot_reply("Sorry, tags can only contain letters, numbers, " + "and the underscore character.") if action == 'remove':