Tcl Library Source Code

View Ticket
Login
Ticket UUID: 6bef0b5d0fc38991e97f9e45a514108c218573a0
Title: bibtex package doesn't parse entries correctly
Type: Bug Version: 0.5
Submitter: emiliano Created on: 2016-05-15 14:14:45
Subsystem: bibtex Assigned To: nobody
Priority: 5 Medium Severity: Important
Status: Open Last Modified: 2026-11-16 00:06:15
Resolution: None Closed By: nobody
    Closed on:
Description:
If an entry contains the literal words "comment", "strings" or "preamble" they are incorrectly processed as one of these types of entries.

The problem is in the regex that selects the type of entry; it is not contrained to look for these words only at the beginning of the record.
User Comments: serhiy.storchaka added on 2026-11-16 00:06:15:

Proposed fix in branch bibtex-comment-anchor: the comment and preamble regexps are anchored like the string one, so a record containing those words is no longer dropped. Tests bibtex-7.0 to 7.2.


Attachments: