From 10b5727725faaba26f87445b08731fbe1ec7483e Mon Sep 17 00:00:00 2001 From: Joshua Chin Date: Tue, 7 Jul 2015 14:58:50 -0400 Subject: [PATCH] updated _emoji_char_class docstring --- scripts/gen_regex.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/gen_regex.py b/scripts/gen_regex.py index 280489c..5907b09 100644 --- a/scripts/gen_regex.py +++ b/scripts/gen_regex.py @@ -16,6 +16,7 @@ def _emoji_char_class(): ranges = [] for i, c in enumerate(chardata.CHAR_CLASS_STRING): + # c represents the character class (3 corresponds to emoji) if c == '3' and i >= 0x2600 and i != 0xfffd: if ranges and i == ranges[-1][1] + 1: ranges[-1][1] = i