From 0594eb65c2680f79b2539cee9b31e24cde345fe0 Mon Sep 17 00:00:00 2001 From: Joshua Chin Date: Fri, 10 Jul 2015 14:27:48 -0400 Subject: [PATCH] added comment about parsing_range Former-commit-id: 770649608034843aee642208e824f40e0f2ccb2f --- scripts/gen_regex.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/gen_regex.py b/scripts/gen_regex.py index 139acf4..314ede2 100644 --- a/scripts/gen_regex.py +++ b/scripts/gen_regex.py @@ -14,6 +14,8 @@ def func_to_regex(accept_func): return a regex character class accepting the characters resulting in True. Ranges separated only by unassigned characters are merged for efficiency. """ + # parsing_range is True if the current codepoint might be in a range that + # the regex will accept parsing_range = False ranges = []