mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-26 08:55:56 +01:00
Update lnurl.js
This commit is contained in:
parent
98345601f4
commit
eb25fdc4ab
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ export default class Lnurl {
|
|||
}
|
||||
|
||||
static findlnurl(bodyOfText) {
|
||||
var res = /^(?:http.*[&?]lightning=)|(?:lightning:)?(lnurl1[02-9ac-hj-np-z]+)/.exec(bodyOfText.toLowerCase());
|
||||
var res = /^(?:http.*[&?]lightning=|lightning:)?(lnurl1[02-9ac-hj-np-z]+)/.exec(bodyOfText.toLowerCase());
|
||||
if (res) {
|
||||
return res[1];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue