diff options
| author | 2018-12-28 08:21:38 +1000 | |
|---|---|---|
| committer | 2018-12-28 08:21:38 +1000 | |
| commit | a6b997fcebe747aa9bbfb92ce17d0725159a08fc (patch) | |
| tree | e89232c6ec3dd12c58debda56ebcbc163b499119 | |
| parent | Merge branch 'master' into charinfo (diff) | |
Simplify regex pattern
Co-Authored-By: scragly <[email protected]>
| -rw-r--r-- | bot/cogs/utils.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/bot/cogs/utils.py b/bot/cogs/utils.py index d605cd201..94f3938e4 100644 --- a/bot/cogs/utils.py +++ b/bot/cogs/utils.py @@ -94,7 +94,7 @@ class Utils:          Shows you information on up to 25 unicode characters.          """ -        match = re.match(r"<(a?):([a-zA-Z0-9\_]+):([0-9]+)>", characters) +        match = re.match(r"<(a?):(\w+):(\d+)>", characters)          if match:              embed = Embed(                  title="Non-Character Detected", | 
