diff options
author | David Yip <yipdw@member.fsf.org> | 2017-10-23 19:31:59 -0500 |
---|---|---|
committer | David Yip <yipdw@member.fsf.org> | 2017-10-23 19:31:59 -0500 |
commit | 8410d33b49d66683f5765b6c6ee5a4a1af5b098f (patch) | |
tree | 23dee7accceb49e187641e274bfed53f66468bd3 /public/emoji/1f98e.svg | |
parent | af8f06413ee3bab91f1fb89b5828ed9a44e1a6bd (diff) |
Only cache the regex text, not the regex itself.
It is possible to cache a Regexp object, but I'm not sure what happens if e.g. that object remains in cache across two different Ruby versions. Caching a string seems to raise fewer questions.
Diffstat (limited to 'public/emoji/1f98e.svg')
0 files changed, 0 insertions, 0 deletions