diff --git a/README.md b/README.md index 3ba73ef9..6c91dd65 100644 --- a/README.md +++ b/README.md @@ -60,14 +60,13 @@ BoM generation options can be configured (on a per-project basis) by editing the * *ignore_dnf*: Component groups marked as 'DNF' (do not fit) will be excluded from the BoM output * *number_rows*: Add row numbers to the BoM output * *group_connectors*: If this option is set, connector comparison based on the 'Value' field is ignored. This allows multiple connectors which are named for their function (e.g. "Power", "ICP" etc) can be grouped together. +* *test_regex*: If this option is set, each component group row is test against a list of (user configurable) regular expressions. If any matches are found, that row is excluded from the output BoM file. * *IGNORE_COLUMNS*: A list of columns can be marked as 'ignore', and will not be output to the BoM file. By default, the *Part_Lib* and *Footprint_Lib* columns are ignored. -* *EXCLUDE_COMPONENT_VALUES*: A list of regular expressions to ignore components based on their value -* *EXCLUDE_COMPONENT_REFS*: A list of regular expressions to ignore components based on their reference -* *EXCLUDE_COMPONENT_FP*: A list of regular expressions to ignore components based on their footprint * *COMPONENT_ALIASES*: A list of space-separated values which allows multiple schematic symbol visualisations to be consolidated. +* *REGEXCLUDE_*: A list of regular expressions to ignore components based on the value in a given column. -Example configuration file (.ini format) -![alt tag](example/options.png?raw=True "Configuration") +Example configuration file (.ini format) *default values shown* +![alt tag](example/ini.png?raw=True "Configuration") ## Example diff --git a/example/ini.png b/example/ini.png new file mode 100644 index 00000000..c6e671a5 Binary files /dev/null and b/example/ini.png differ diff --git a/example/options.png b/example/options.png deleted file mode 100644 index 992164c8..00000000 Binary files a/example/options.png and /dev/null differ