Update RegEx, allowing for proper BIP21 parsing
Created by: clarkmoody
The RegEx in the FormatsUtil seems to have one too many escapes around the amount parameter.
As written for Bech32 lower:
bitcoin:bc1q\amount\=1. Removing one of the
\ characters yields:
bitcoin:bc1q?amount=1 as expected.
Can reproduce in app by scanning a Bech32 BIP21 URI and receiving no result. Scanning the bare Bech32 address works properly, since that follows a different code path in the FormatsUtil.
URI_BECH32_LOWER are updated with this change.
Original bug report: samourai-wallet-android#224
Supersedes PR: samourai-wallet-android#225