Prevent zero-length lookbehinds from throwing off future matches

Use separate variables to track whether lookbehind should be used and the length of the lookbehind. Fixes #109.