Magic Files¶
The prefix “mag” is common in all filenames, possibly an abbreviation for “magic.”
A three-digit number follows the prefix, potentially indicating different categories or types of magic spells and summons.
An underscore connects the number with a single character, which could represent different properties or attributes of the spells and summons.
A dot separates the character from a combination of letters and numbers that might indicate variations, sequences, or levels of the respective spells and summons.
Regular Expressions¶
All Files:
^mag\d{3}_[a-z]\.([0-9a-z]+|dat)$Basename:
^mag\d{3}_[a-z]Extension with Leading letter followed by 1 digit (e.g., h.0):
\.[a-z]\d$Extension with Leading letter followed by 2 digits (e.g., b.10):
\.[a-z]\d{2}$Extension with Leading digit followed by a letter and 1 digit (e.g., 1t0):
\.\d[a-z]\d$Extension with Leading digit followed by a letter and 2 digits (e.g., 2s10):
\.\d[a-z]\d{2}$Extension with “.dat”:
\.dat$Files that don’t match the above start with “ma8def_p” (magic files?):
^ma8def_p\.\d$