Names: stray quotes, single quotes, hosts, bracketed names; dates, repeats
From the first corpus sweep (183 ranges):
- A stray quote took the last quote pair ('"x.mp3" "Album_BY_WaRLoRD',
'"x.nfo" " yEnc', '"x.nzb" yEnc"'): the last quoted part with an
extension is the name. Each file was a release of its own.
- A single-quoted name at the end ("… [001/106] 'You, Me And Dupree.nfo'"),
not the host before it (www.x2l.nl).
- Text ending in a host ("… www.libranews.nl") is no file name; a name in
brackets comes first ("[01/77][LIBRATEAM_M2219009.par2]",
"-^-[Mnozil Brass - Seven.nzb]-^-").
- A leading date is no item number ("09-30-2008_BAK_JRS.r00": a daily
show's 32,621 files were one release under the poster's tag).
- The file name repeated elsewhere in the subject goes too
("(NELET11.par2) [01/58] - "NELET11.par2"").
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
885e4e6541
commit
1a5035d988
6 files changed
+115
-11
No files matched your search
@@ -66,6 +66,12 @@ test.group('subject / parseSubject', () => {
|
||||
['[03/21 Geroellheimer - S03E16.part01.rar" yEnc (1/50)', 'Geroellheimer - S03E16.part01.rar', 1, 50],
|
||||
['<Group> FP -> {EXL01~P~004} -> Alexia (3) -> VF -> [0001 of 0076] -> Exclusive-tgirls_000000-lg.jpg (1/1)', 'Exclusive-tgirls_000000-lg.jpg', 1, 1],
|
||||
["<abm> <Duke> here's a little thanksgiving present: AB: part2 0573-1002 043.jpg (1/1)", '043.jpg', 1, 1],
|
||||
["xlady post You, Me And Dupree www.x2l.nl [001/106] 'You, Me And Dupree.nfo' (1/1)", 'You, Me And Dupree.nfo', 1, 1],
|
||||
['[01/77][LIBRATEAM_M2219009.par2] Onbeperkt downloaden met een snelheid van 1,22 MB p.s. en dat voor maar 7,95 p.m. www.libranews.nl (1/1)', 'LIBRATEAM_M2219009.par2', 1, 1],
|
||||
['patensas post -^-[Mnozil Brass - Seven.nzb]-^-www.usenet2day.cc -^-[000/107]-^-www.libranews.nl-^- yEnc (1/1)', 'Mnozil Brass - Seven.nzb', 1, 1],
|
||||
['(01/26) "01 Time Machine (You Are The Master Of Time-Age).mp3" "Silicon Dream - Time Machine_BY_WaRLoRD```` yEnc (1/1)', '01 Time Machine (You Are The Master Of Time-Age).mp3', 1, 1],
|
||||
['Bondage-xxx-DVDRIP-XviD_By_GARM (02/74) "Bondage-xxx-DVDRIP-XviD.nfo" " yEnc (1/1)', 'Bondage-xxx-DVDRIP-XviD.nfo', 1, 1],
|
||||
['W44-K14-TheMan @ D4D.cc (sjappie45) Op [000/103] - "W44-K14-TheMan @ D4D.cc (sjappie45) Op.nzb" yEnc" (1/1)', 'W44-K14-TheMan @ D4D.cc (sjappie45) Op.nzb', 1, 1],
|
||||
]
|
||||
for (const [subject, name, segment, total, fileIndex] of cases) {
|
||||
const parsed = parseSubject(subject)
|
||||
|
||||
Reference in new issue
Block a user