shift / pulledpork

Automatically exported from code.google.com/p/pulledpork
GNU General Public License v2.0
0 stars 0 forks source link

Trailing comments break enablesid.conf #96

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create enablesid.conf containing a single line like '1:xxxx" with a sid that 
you'd like to enable.
2. Run pulled pork, note during the enablesid phase that 1 sid is processed.
3. Add a trailing comment to your file, like so:

1:xxxx # I'm a comment describing why this sid has been enabled

What is the expected output? What do you see instead?
When running PP after step three, thousands of sids will be enabled, presumably 
because of a bad regex that doesn't expect a trailing comment.

What version of the product are you using? On what operating system?
0.6.1 on RHEL6

Please provide any additional information below.
Trailing comments are VERY useful.  Please fix poste-haste.

Original issue reported on code.google.com by m...@nyu.edu on 17 Oct 2011 at 10:03