User:Aldyron/Sandbox/Template List of monsters in habitat

Chaotic notes
The namespace constraint is currently redundant. Keep it if querying time is lower with it.

Using Missing in Action as our work-in-progress target quest gives no results. Using The Grotto gives 1 result. It's the system-wide limit of 500 again: when querying the whole alphabetic-sorted list of monsters (WASLOM), no monster from Missing in Action appears in the first 500 (the first one is Dog, beyond the 500th in the WASLOM, currently Darkfang Hunter), while one monster from The Grotto is in the first 500 (Aging Sahuagin Warrior). That is, instead of querying everything and then limiting at 500, it queries at most 500 and then checks for matches. It will never be suitable this way. Showstopper.

Using Vault of Night yields a few results, useful for mixed-formats wrangling.

Staging area

 * includematch = /    \x7c\s*habitat\s*=\s*[]*Missing in Action/is
 * includematch = /the grotto/i