Complex numbers captured by regex

Sorry, trying pull request #46233 again
For this Trello request: https://trello.com/card/adding-and-subtracting-complex-numbers-shouldn-t-accept-blank-answer/4d87e664967a0775082939ab/579