Skip to content

Pyparsing 2.3.0

Compare
Choose a tag to compare
@ptmcg ptmcg released this 31 Oct 06:18
· 929 commits to master since this release
  • NEW SUPPORT FOR UNICODE CHARACTER RANGES
    This release introduces the pyparsing_unicode namespace class, defining
    a series of language character sets to simplify the definition of alphas,
    nums, alphanums, and printables in the following language sets:
    . Arabic
    . Chinese
    . Cyrillic
    . Devanagari
    . Greek
    . Hebrew
    . Japanese (including Kanji, Katakana, and Hirigana subsets)
    . Korean
    . Latin1 (includes 7 and 8-bit Latin characters)
    . Thai
    . CJK (combination of Chinese, Japanese, and Korean sets)

POSSIBLE API CHANGES:

  • IndexErrors raised in parse actions are now wrapped in ParseExceptions
  • ParseResults have had several bugfixes which remove erroneous nesting levels
    See the CHANGES file for more details.

New classes:

  • PrecededBy - lookbehind match
  • Char - single character match (similar to Word(exact=1))