ENH: Supporting Category Expressions
You can now specify category constraints as category expression instead of defining it as sets of included and excluded category names. This not only provided greater flexibility but is also easier to define. For example in a SBT file this would like the following:
<CategoryExpression InheritanceMode="Or">(a & !b) & (d | 'category with spaces') </CategoryExpression>
Note that in XML & represents &
In this example the expression will match if the test set of categories contains a and either d or category with spaces but not b