Skip to content

Releases: StyXman/dinant

The "Third Time's The Charm" release.

19 Oct 13:25
Compare
Choose a tag to compare
  • Support integers and floats prefixed with +.
  • Support floats in E-notation.
  • Small optimization when captureing either(), but not for all cases where it would be possible.

The "Two In A Row" release.

18 Oct 11:45
Compare
Choose a tag to compare
  • 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!

The "Growing Like A Baby" release.

17 Oct 11:33
Compare
Choose a tag to compare
  • 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().

The "Need(ed) For Deployment" release.

27 Jul 08:56
Compare
Choose a tag to compare
  • 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).

The "I'm bored at work" release.

21 Apr 18:52
Compare
Choose a tag to compare

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

The "Can't believe I wrote this (in two seatings)" release.

04 Apr 18:17
Compare
Choose a tag to compare