Modified tap regex to support formulas with a +-sign, e.g. gtk+.rb

Fixes #30204.
Closes #30217.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>