Help with a Custom Collection

Update on this: in Supernotes 3.1.5 we added a “regex” filter operation, which matches cards based on a specified RegEx pattern.

So now you can have a filter like this:

{
  "type": "markup",
  "op": "regex",
  "arg": "§\s*(3(5[5-9]|6[0-1]))\s*BGB"
},

Which will match cards containing that first range (§ 355 BGP – § 361 BGP). We recognize that this isn’t quite the perfect solution for the use-case, and that RegEx is even less user-friendly than the existing filtering system, but I think this is probably as far as we will go in this direction. Specifically trying to pull numbers out of card markup or similar is out-of-scope.

The good news is that the Collection Genie should be able to help you out for stuff like this now. For example I was able to generate an appropriate collection for sections 355 – 433 with this prompt:

match card markup that has the text “§ ___ BGP” in it, where ___ are the numbers from 355 to 433, inclusive

Hope that helps!