37 Commits

Author SHA1 Message Date
Richard Jones 90a3012bcc fix python2.5 support 2011-11-29 11:25:53 +11:00
Richard Jones 8605349433 fix a couple of python 3.2 issues 2011-11-25 12:05:21 +11:00
Richard Jones 82c27ddec2 fix a couple of python 3.2 issues 2011-11-25 12:02:53 +11:00
Richard Jones 00f1b7fb84 ReST edits 2011-11-24 11:19:34 +11:00
Richard Jones fcb610580e remove incorrect test information 2011-11-23 10:38:32 +11:00
Richard Jones 3df0e26d7e tests moved 2011-11-23 10:19:18 +11:00
Richard Jones 331cd723bc rst fixes 2011-11-23 10:18:16 +11:00
Richard Jones df652eae88 doc tweaks and some cleanup 2011-11-23 10:13:27 +11:00
Richard Jones 704c1c1224 add search() and findall() initial implementations 2011-11-23 09:12:44 +11:00
Richard Jones 28fec67168 thing 2011-11-22 18:24:36 +11:00
Richard Jones 158d010560 add custom and override types 2011-11-22 18:00:40 +11:00
Richard Jones 0f90590418 doc improvements; cleanup of the locals()-related hax 2011-11-22 17:40:46 +11:00
Richard Jones d2c58187f4 clean up tests; add another regex case 2011-11-22 14:55:22 +11:00
Richard Jones e9f0b0f182 tweaks 2011-11-22 14:49:33 +11:00
Richard Jones 68a376da98 much refactoring to reduce the use of regex so that regex chars in the parse pattern can be handled sanely 2011-11-22 14:46:55 +11:00
Richard Jones 246c20a33a typo 2011-11-22 12:37:47 +11:00
Richard Jones 2fafd7ad4c allow "d" fields to have number base "0x" etc. prefixes;
fix up some field type interactionsi after stress-testing the parser;
  implement "%" type.
2011-11-22 12:37:08 +11:00
Richard Jones 7e0a9d0d9f cleanup of Parser.parse() and attribute naming; cleanup of number prefix and allow prefix for "d". test_mixed_types fails. 2011-11-22 10:45:24 +11:00
Richard Jones 5b602066fb more tests 2011-11-22 09:04:15 +11:00
Richard Jones a48a32f2dd add not about stripping and spans; remove test that will never pass; clean up 2011-11-22 08:46:15 +11:00
Richard Jones 3f07130d1f some Python 2.5 and 3.2 compatibility tweaks; remove some "#" turds 2011-11-22 08:37:02 +11:00
Richard Jones 667ecef322 add "g" type; removed redundant "h" and "X";
removed need for explicit "#".
2011-11-21 17:18:41 +11:00
Richard Jones a5694a7d59 add "e" field type 2011-11-21 17:07:19 +11:00
Richard Jones b25c319ff3 moar tests 2011-11-21 16:22:05 +11:00
Richard Jones 3ff564520b accept textual dates in more places; Result now holds match span
positions.
2011-11-21 15:28:55 +11:00
Richard Jones 7e31bdf3c3 accept textual dates in more places; Result now holds match span
positions.
2011-11-21 14:41:06 +11:00
Richard Jones f1ad68724e fixes to some int type conversion; implemented "=" alignment; added date/time parsing with a variety of formats handled. 2011-11-21 13:43:29 +11:00
Richard Jones 9d4c0cc9f6 type conversion based on parsed types; also add "f" and "n" types 2011-11-18 18:02:55 +11:00
Richard Jones 50d103b5b2 fix doc 2011-11-18 16:45:18 +11:00
Richard Jones b4a5467b08 refactored, added compile() 2011-11-18 16:42:46 +11:00
Richard Jones 5b37c42685 doc fixes 2011-11-18 16:10:48 +11:00
Richard Jones 00a9eacc7d more doc tweaks 2011-11-18 10:55:39 +11:00
Richard Jones eb6edb5a0c documentation tweak 2011-11-18 10:49:53 +11:00
Richard Jones 23b89610f7 implement loads more of format() spec
implement closer to the format() spec
2011-11-18 10:44:55 +11:00
Richard Jones d26ba29b2d moar 2011-11-17 16:40:06 +11:00
Richard Jones 452123f0bb moar 2011-11-17 16:37:47 +11:00
Richard Jones 1d656b930b first commit 2011-11-17 16:32:27 +11:00