Incremental pattern matching seemed like a fun distraction while waiting for a benchmark :) (I didn't go as far as this dude: http://jkff.info/articles/ire/)
I came up with the attached, it seems to work...
Incremental pattern matching seemed like a fun distraction while waiting for a benchmark :) (I didn't go as far as this dude: http:// jkff.info/ articles/ ire/)
I came up with the attached, it seems to work...