On Wed, 25 Jun 2003, Ben Bennett wrote: > All true... but my benchmarking as I wrote my ISO8601 showed that the > speed gained by pre-filtering by length to reduce the number of > regexps that need to be tried is substantial.
You can mix length with no-length specrefs. > The other thing that my ISO8601 parser does is (optionally) return the > format specification and pieces of the time string (because it is not > always possible to cleanly map an ISO8601 string into a DT, but the > module tries its best). Is there a way to easily do that with Builder > that I haven't spotted yet? Theres only 6 strings that can match either dates or time. hhmmss hhmm hh -mmss -mm --ss -J --