Something about early, and often?
October 12th, 2005 tonyg
Naturally, almost as soon as I’d posted about my extensions to pregexp, I discovered a bug in said extensions.
It was something I should have caught, too: in the code I had a constant (3) which I couldn’t explain. I had expected it to be 2, not 3, and the need for the extra increment wasn’t clear to me. Now that I’ve caught the bug, I know why the increment seemed to work: it was compensating for a missing end-of-stream detection in another place.
The revised patch to pregexp version 20050502 can be downloaded here.
Entry Filed under: Technology, Programming, Our Software
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed