Found by Coverity (CID 118926). See the code:
From one point of view frontend must prohibit such trigger expressions and THIS_SHOULD_NEVER_HAPPEN, but on the other hand we even try to set a meaningful error message for this situation. Just to crash on the next step. I think this should be fixed.
Similar situation in extract_numbers() (CID 118924).