Rule should not apply when token is followed by a noun

I wrote a rule that should find “the Blueprint” (or "Studio) but not when followed by a noun e.g. “the Blueprint components”. My rule is as follows:

the|The Studio|Blueprint

Nevertheless, it founds “the Blueprint” in the sentence:

“In order to be able to explore the Blueprint features, …”

Is my rule wrong or do I have to enable postags? I use the Java API and not the standalone program.

Best regards,

It’s indeed complicated because “features” can be both a noun and a verb. I think this will work for the last token:

The non-negated case is described here: Tips and Tricks - LanguageTool Wiki

I don’t know why but it seems to work :wink:
Thank you!