From 9b851f3afe91177b2853c3498ff0d6b0eb7c42f8 Mon Sep 17 00:00:00 2001 From: Joshua Chin Date: Tue, 7 Jul 2015 15:33:51 -0400 Subject: [PATCH] updated docstring --- scripts/gen_regex.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/gen_regex.py b/scripts/gen_regex.py index 1c5f6f5..ea50186 100644 --- a/scripts/gen_regex.py +++ b/scripts/gen_regex.py @@ -10,10 +10,8 @@ DATA_PATH = pathlib.Path(resource_filename('wordfreq', 'data')) def _emoji_char_class(): """ - Build a regex for emoji substitution. First we create a regex character set - (like "[a-cv-z]") matching characters we consider emoji. The final regex - matches one such character followed by any number of spaces and identical - characters. + Build a regex for emoji substitution. We create a regex character set + (like "[a-cv-z]") matching characters we consider emoji. """ emoji_file = DATA_PATH / 'emoji.txt'