Because getting the processed text of a Twine passage seems somewhere between kludgy and impossible, I’ve been writing functions on my sugarcube story’s setup object — functions to strip away macros, towards the goal of approximating a better actual word-count than the one Twine app provides.
In the process, I’m learning a tiny bit about regex.