Skip to content

How ignoring special characters like hash # at reading or common? #243

Description

@Paderman

How is it possible to ignore hash or other special characters at the beginning or common?

I have a non standard ini file that begins with a special character like # for comments, but with this character, I get an error message, without, it works.

Error message:
IniParser.Exceptions.ParsingException: 'Unknown file format. Couldn't parse the line: '#'. while parsing line number 0 with value '' - IniParser version: 2.5.2.0 while parsing line number 1 with value '#' - IniParser version: 2.5.2.0'

Thank you for your solution and helping 🙂

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions