Releases: StyXman/dinant
Releases · StyXman/dinant
The "Third Time's The Charm" release.
The "Two In A Row" release.
- 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()
andat_most()
.- Documentation!
The "Growing Like A Baby" release.
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 asthen()
.
The "Need(ed) For Deployment" release.
then()
is deprecated, just use strings and+
, like'C-' + exactly(8, digits)
orone_or_more(digits) + '°'
.groups()
andgroup()
are methods with same semantics asre
's.- Added
hex
,hexa
that matches hexadecimal digits. - Support broken day representations like in
Apr 7 07:46:44
(it should be07
).
The "I'm bored at work" release.
Not much, just added a couple of shorthands for matching integers and floats.
The "Can't believe I wrote this (in two seatings)" release.
Initial release.See README.md