Dinant

Latest version: v0.6

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

Scan your dependencies

0.5

* Implement `capture=True|False|str` for all atoms and user defined expressions.
* Moved `debug()` to its own method.
* Implement `re(name='bar')`.
* Implement `re(times=[...])`.
* `at_least()` and `at_most()`.
* Documentation!

0.4

* `Dinant.match()` has a debug mode, where it either returns the first sub expression that doesn't match, or raises the syntax error that makes the regexp fail.
* `regexp()`, so you can pass a raw regexp.
* `text()` is the same as `then()`.

0.3

* `then()` is deprecated, just use strings and `+`, like `'C-' + exactly(8, digits)` or `one_or_more(digits) + '°'`.
* `groups()` and `group()` are methods with same semantics as `re`'s.
* Added `hex`, `hexa` that matches hexadecimal digits.
* Support broken day representations like in `Apr 7 07:46:44` (it should be `07`).

0.2

Not much, just added a couple of shorthands for matching integers and floats.

0.1

Initial release.See README.md

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.