I am trying to write a macro that adds the plural ending to Dutch nouns, based on the ending of the singular noun. Plural can get one of three possible endings (-s, 's and -en), based on the ending of the singular noun.
The macro has to evaluate a lot of endings.
My question: Isn't there a more compact way to evaluate the endings, e.g. via aar|aard|e|eau|el|em|en|er|erd|eur|foon|ie|ier|oor|um (for the first plural ending)?
You're already halfway there with the syntax. Just use "matches" instead of "ends with" and the regular expression (aar|aard|e|eau|el|em|en|er|erd|eur|foon|ie|ier|oor|um)$ for the match term: