Create
Create copied to clipboard
[1.21.1] Allow the use of linear-time, threadsafe regex-based matching as an alternative to globs
This PR
- Adds a game setting,
enableAdvancedRegex, which requires a world reload to enable. - Adds buttons to several UIs of logistics-related devices to allow regex-based package and station address matching
- Adds a utility class
LogisticParserand some utility methods to allow matching either globs or regex depending on the setting
I playtested this and it seemed to be functional, but if I missed anything important (or minor, really), feel free to change or just let me know ASAP.