Skip to content

Lists of quoted strings containing semicolons are not being parsed properlyΒ #81

@GreenGremlin

Description

@GreenGremlin

Here's a simple reproduction of this Issue:

const iniParser = require('ini');

console.log(iniParser.parse('values=["foo; bar"]'));

Actual result:

Semicolon's in a quoted string in a list are parsed as a comment.

{ values: '["foo' }

Expected result:

Semicolon's in a quoted string should not be parsed as a comment.

{ values: ['foo; bar'] }
  • ini version: 1.3.5
  • node version: 8.9.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions