Skip to main content

REGEX_CEO_DB

Static REGEX_CEO_DB 

Source
pub static REGEX_CEO_DB: LazyLock<Regex>
Expand description

Regular expression to identify CEO database table file paths. These do not use the normal db prefix due to crashes when loading them in mods ingame.

Matches paths in the format: ceo_db/{table_name}_tables/{file}

ยงExamples

  • ceo_db/units_tables/core_units.bin โ†’ matches
  • ceo_db/buildings_tables/data.bin โ†’ matches
  • data/units.txt โ†’ does not match