diff options
author | ptmcg <ptmcg@austin.rr.com> | 2018-11-09 23:00:19 -0600 |
---|---|---|
committer | ptmcg <ptmcg@austin.rr.com> | 2018-11-09 23:00:19 -0600 |
commit | 3189e42fcec49b0cd2d7ba44ff7d4b6e38032e8e (patch) | |
tree | af83aa213f0ddae38c7cf684d4ee2aa26bbf2b74 /pyparsing.py | |
parent | 29c79874e135b93128f821765d11a401bfb4ac1e (diff) | |
download | pyparsing-git-3189e42fcec49b0cd2d7ba44ff7d4b6e38032e8e.tar.gz |
Added unicode sets for LatinA and LatinB ranges
Diffstat (limited to 'pyparsing.py')
-rw-r--r-- | pyparsing.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/pyparsing.py b/pyparsing.py index 5006e4e..19b0141 100644 --- a/pyparsing.py +++ b/pyparsing.py @@ -75,8 +75,8 @@ classes inherit from. Use the docstrings for examples of how to: - find more useful common expressions in the L{pyparsing_common} namespace class
"""
-__version__ = "2.3.0"
-__versionTime__ = "28 Oct 2018 01:57 UTC"
+__version__ = "2.3.1"
+__versionTime__ = "10 Nov 2018 04:38 UTC"
__author__ = "Paul McGuire <ptmcg@users.sourceforge.net>"
import string
@@ -5865,9 +5865,13 @@ class pyparsing_unicode(unicode_set): _ranges = [(32, sys.maxunicode)]
class Latin1(unicode_set):
- _ranges = [
- (0x0020, 0x007e), (0x00a0, 0x00ff),
- ]
+ _ranges = [(0x0020, 0x007e), (0x00a0, 0x00ff),]
+
+ class LatinA(unicode_set):
+ _ranges = [(0x0100, 0x017f),]
+
+ class LatinB(unicode_set):
+ _ranges = [(0x0180, 0x024f),]
class Greek(unicode_set):
_ranges = [
|