Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flexible parser using whitespace instead of a single tab #61

Conversation

leoheck
Copy link
Contributor

@leoheck leoheck commented Jul 7, 2019

Fix related to this discussion #41 (comment)

It accepts multiples white space (including the combination of tabs and spaces)

Sorry for the loooooong delay, I didn't see your answer before @SchrodingersGat

@leoheck
Copy link
Contributor Author

leoheck commented Jul 7, 2019

I tested it really fast just changing the style from this section of the bom.ini found on your Readme.md it should be good to test more, I guess.

[REGEX_EXCLUDE]
; A series of regular expressions used to exclude parts from the BoM
; If a component matches ANY of these, it will be excluded from the BoM
; Column names are case-insensitive
; Format is: "ColumName	Regex" (tab-separated)
References    ^TP[0-9]*
References    ^FID
Part          mount.*hole
Part          solder.*bridge
Part          test.*point
Footprint     test.*point
Footprint     mount.*hole
Footprint     fiducial

@SchrodingersGat
Copy link
Owner

Thanks for the improvement @leoheck

@SchrodingersGat SchrodingersGat merged commit 3a5a776 into SchrodingersGat:master Jul 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants