Skip to content

Parenthesis-delimited blocks (@article(...)) are silently parsed as implicit comments #533

@MiWeiss

Description

@MiWeiss

Standard BibTeX allows parentheses as block delimiters, but the splitter regex only accepts { (bibtexparser/splitter.py:296, (?={) lookahead). A block like

@article(test2002, author = {A}, year = {2002})

becomes an ImplicitComment — no entry, no failed block, no warning. Silent data loss.

Either support the (...) form, or at minimum emit a ParsingFailedBlock so the loss is visible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions