Ppeg

Latest version: v0.9.4

Safety actively analyzes 621064 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.9.4

------------------

* Added support for multiple arguments to Pattern.CapC(arg, ...) aka
constant capture
* Added initial support for Pattern.CapT(p) (table capture) with
positional/unnamed captures
* Added initial support for Pattern.CapRT(p, func) (match-time capture)
* Fixed Pattern.CapS(p) (substitution captures) when the pattern has no
captures
* Added more error checking
* Added dynamic capture stack. Patterns can now return thousands of captures,
depending on available RAM

0.9.3

------------------

* Added support for Pattern.Cap(n) and Pattern.Cap(s),
as shortcuts for Pattern.Cap(Pattern(n)) and Pattern.Cap(Pattern(s))
* Fixed uninitialized memory in Pattern objects
* Fixed matching of Pattern(-n) for n > 255
* Fixed memory leaks found with clang
* Fixed some cases when combining two patterns with p1 | p2
* Added Tox configutation for running the test suite under Python 2.6 & 2.7
* Moved the test suite to tests/*.py
* Ported more of LPeg's `test.lua` test suite

0.9.2

------------------

* Moved source repository from Bitbucket to Github
* Added experimental warning to the README
* Added an example to the README

0.9.1

------------------

* Added README, CHANGELOG, AUTHORS
* New maintainer: Alex Willmer
* Changed from distutils to setuptools

0.9

----------------

* First release on PyPI

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.