FINDarkside / TLD-Save-Editor

Edit The Long Dark save files
http://www.moddb.com/mods/the-long-dark-save-editor-2/downloads
MIT License
76 stars 31 forks source link

Escaping m_StatsDictionary illegal properties in regexp way. #29

Closed Pt-Djefferson closed 4 years ago

FINDarkside commented 4 years ago

To be honest I'm not sure if this is a good idea. I'm skeptical if this regex will work in all scenarios and given that the old code should work just fine I'm probably not going to merge this.

Pt-Djefferson commented 4 years ago

As you wish. But it will work in all scenarios.

FINDarkside commented 4 years ago

Hmm, you're probably correct. I misremembered how the old code worked, it wouldn't work in the scenarios I was thinking either.