I am using a 3rd-party library to parse some domain specific file. The good thing is the library works, the bad thing is the library has some small issues that I would like to modify, the ugly thing is the function I am using has, well, around 2000 lines. I just want to modify one regular expression inside an if expression, is there a way I could "hotfix" that without modifying the original library?