DiffSK / configobj

Python 3+ compatible port of the configobj library
https://configobj.readthedocs.org
Other
322 stars 76 forks source link

Add support for inline comments in regex #238

Open ValeraSin opened 1 year ago

ValeraSin commented 1 year ago

Add support for inline comments in regex Change _handle_comment to support new regex

ValeraSin commented 2 months ago

Yes, tests for the new behavior have already been added. The test cases now include handling of both # and ; inline comment markers, as well as validation of multiple comment styles in configuration sections.

jelmer commented 2 months ago

Thanks, I'll take a look at this as soon as we get another release out.