View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000679 | file | General | public | 2025-08-28 16:40 | 2025-08-28 16:40 |
Reporter | adepasquale | Assigned To | |||
Priority | low | Severity | tweak | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 5.46 | ||||
Summary | 0000679: regex for INI file is missing LF | ||||
Description | This regex is using CR as a terminator: https://github.com/file/file/blob/74e451be9d9e86af5e06e9795403017f8c6833ba/magic/Magdir/windows#L1263 Since there are valid non-Windows INI filies, I think that should be changed to allow both CR and LF: \^([A-Za-z0-9_\(\)\ ]+)\][\r\n] | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2025-08-28 16:40 | adepasquale | New Issue |