Status: Accepted
Owner:
martijn....@gmail.com
Labels: Type-Review Priority-Low
New issue 71 by
martijn....@gmail.com: token_re_cache in javascript
implementation doesn't do anything?
http://code.google.com/p/json-template/issues/detail?id=71
In the code, the token_re_cache is used to cache regular expressions. But
it appears nothing is ever put into the cache. A good thing too, as
token_re should be recreated each time during compilation otherwise its
lastIndex property isn't reset to 0. At least, I think that's what's going
on (I was wondering how it could work with the cache in the first place;
turned out the cache doesn't work).