bitcoin-regex icon indicating copy to clipboard operation
bitcoin-regex copied to clipboard

Bitcoin Wallet Address matches incorrectly

Open behrad-ahmadpour opened this issue 3 years ago • 1 comments

Hi

Matched on: 3F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3F

The regex catches obvious non Bitcoin addresses. Do you offer any update to regex to bypass this type of Invalid Wallet?

behrad-ahmadpour avatar Jan 24 '22 20:01 behrad-ahmadpour

The only way to check for these cases would be to check the checksum after you've extracted the potential address using this regex.

unsocial-bleach avatar Apr 28 '22 20:04 unsocial-bleach