Resulting the quotes being highlighted. So you need a ‘positive look-behind’ group before your literal string and a ‘positive look-ahead’ group after your literal string. Thus:
pattern: (?<=")prototype(?=")
case-sensitive: NO
color: bright red
One other thought. I’m not an expert here, but from what I do know of regex I assume these look-ahead/behind commands are at the more computationally expensive end of regex work. No big deal on a high-end Mac running the highlighter on a few notes. Low end Mac and 100s of such notes—perhaps not. Just something to bear in mind. I’ve learned to remember to consider scale as well as just completing the task at hand.
The above doesn’t imply Tinderbox is slow—it absolutely isn’t!