Pattern Matcher OR

Hi all, is there a way to use or apply "OR" logic to pattern matcher? If I have something like I can do with regex? I don't want to have to create individual parsers for each occurrence, if possible (car, boat, bus, for example). I am also thinking that if I can do that, I can use a script to generate my rules. Any help would be appreciated.

Can I do something like the below, but without regex? Obviously, bus in this case might pick up other things.

matcher.add("VEHICLE", None,
[{"LOWER":{"REGEX":"car|boat|bus"}}]
)

Hi! This forum is indended for questions specifically about Prodigy – sometimes that touches spaCy as well, but for general usage questions like this one, we now have the GitHub discussion board: https://github.com/explosion/spaCy/discussions So maybe you could repost your question there?