logoalt Hacker News

btown12/08/20241 replyview on HN

An array of strings works well here! Also, you can always preprocess to remove comments before validating!


Replies

oneeyedpigeon12/08/2024

If you're preprocessing, you might as well just `grep -v ^#` and support 'real' comments.

show 1 reply