Skip to main content

REGEX_DB

Static REGEX_DB 

Source
pub static REGEX_DB: LazyLock<Regex>
Expand description

Regular expression to identify database table file paths.

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

ยงExamples

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