From V11 M020 you can now specify a JavaScript function as an exception dictionary.

The JS will return a string containing lists of priorities that specify when the hyphenator is allowed to break or not break.

This enables some very clever pattern matching options and much greater control over the hyphenation than standard exception dictionaries provide.