Closed ghost closed 8 years ago
Hey, thank you for your pull request. I agree with you that using a singleton isn't that good and should be replaced. Still, I think that your changes to the regex stuff are rather slow in performance and may provoke errors since String.match() needs to compile the regex-pattern every time. Long or invalid patterns would cause unpredictable consequences. As of that, could you please create a new commit, containing only your changes to the singleton class? Otherwise I would need to merge your changes first and revert part of it afterwards again... Thanks in advance!
Hey, everything that needs to be said has already been said. I created now a pull request (along with some other commits), in order to ensure an update as fast as possible because a critical bug has been fixed.
Just a quick tip for the future: Please avoid pushing several changes as one commit, so we can pick the commits that we need using git-cherry-pick.
However, thank you for your help!
I've merged the pull request from Krymonota now, who basically implemented all your static changes together with some little fixes. Still, I'd like to thank you for you help.
Fixed Regex stuff