Use RegExp for button plugin's focus shim

Fixes #14923.
Merge pull request #14925 from twbs/button-focus-use-regexp

Use RegExp for button plugin's focus shim