Github user koraktor commented on the issue:
https://github.com/apache/tomcat/pull/108
I added another bunch of patches. One of them implementing a different
approach to a cached version representation based on @ChristopherSchultzâs
suggestion. Instead of creating zero-padded strings I had the idea of using the
version components as UTF-16 code points and building a string from those.
I did not yet test all edge cases. So this might not be fail-safe.
Iâm still using regular expressions as the overhead of implementing a
tokenizer seemed a bit much given the one-time nature of the new approach.
I did not include code for non-numeric version components (especially
suffixes, e.g. `1.2.3-SNAPSHOT` or `1.2.3.pre5`.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]