Repository navigation
Commit 69936dd
authored
Fix double-escaped "(file ...): cannot open" LaTeX package matcher (#15385)
The pattern was copied from tinytex's R source, where the string
'.* \\(file ([^)]+)\\): cannot open .*' denotes the regex \(. Pasted
into a JS regex literal, \\( instead requires a literal backslash before
"(file", so the matcher never matched a real log line.
The existing "!pdfTeX error: ... (file 8r.enc): cannot open ..." test kept
passing because the font matcher also catches lines with a "! ... error:"
prefix. The new test covers the same message without that prefix.1 parent 6cec6f2 commit 69936dd
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | | - | |
| 490 | + | |
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
0 commit comments