mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #2487 from overleaf/hb-fix-bib-log-parser
Make bib-log-parser resilient to line break missing in error GitOrigin-RevId: cfb58d63d005423bace2467f049acf8aec379aee
This commit is contained in:
parent
3157d0e04d
commit
e45dbbdbfb
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ define(function() {
|
||||||
SINGLELINE_WARNING_REGEX = /^Warning--(.+)$/m;
|
SINGLELINE_WARNING_REGEX = /^Warning--(.+)$/m;
|
||||||
MULTILINE_ERROR_REGEX = /^(.*)---line (\d+) of file (.*)\n([^]+?)\nI'm skipping whatever remains of this entry$/m;
|
MULTILINE_ERROR_REGEX = /^(.*)---line (\d+) of file (.*)\n([^]+?)\nI'm skipping whatever remains of this entry$/m;
|
||||||
BAD_CROSS_REFERENCE_REGEX = /^(A bad cross reference---entry ".+?"\nrefers to entry.+?, which doesn't exist)$/m;
|
BAD_CROSS_REFERENCE_REGEX = /^(A bad cross reference---entry ".+?"\nrefers to entry.+?, which doesn't exist)$/m;
|
||||||
MULTILINE_COMMAND_ERROR_REGEX = /^(.*)\n---line (\d+) of file (.*)\n([^]+?)\nI'm skipping whatever remains of this command$/m;
|
MULTILINE_COMMAND_ERROR_REGEX = /^(.*)\n?---line (\d+) of file (.*)\n([^]+?)\nI'm skipping whatever remains of this command$/m;
|
||||||
warningParsers = [
|
warningParsers = [
|
||||||
[
|
[
|
||||||
MULTILINE_WARNING_REGEX, function(match) {
|
MULTILINE_WARNING_REGEX, function(match) {
|
||||||
|
|
Loading…
Reference in a new issue