Code Puppet on Nostr: #[0] #[1] Thanks for replying. I'm wondering if you have used a regex to detect ...
I can't find a lightning invoice in the global feed to check my regex against. Lol
#[1] Thanks for replying. I'm wondering if you have used a regex to detect lightning invoices in text? Im surprised that I can't find any good example of one that matches all invoice formats
Published at
2023-01-15 01:31:33Event JSON
{
"id": "49c611088be3090d4757d2084b53eab47d42a2ba1e32665498178743f52d868e",
"pubkey": "0db80fa91e2ea00bd9b64364d289b4dfaebe19587043f12206ada163ccfad7bd",
"created_at": 1673746293,
"kind": 1,
"tags": [
[
"e",
"07a061b28ade1e145e9862ceb47005598103f14eb53a695c924139be926ac1db",
"wss://relay.nostr.pro",
"root"
]
],
"content": "#[0] #[1] Thanks for replying. I'm wondering if you have used a regex to detect lightning invoices in text? Im surprised that I can't find any good example of one that matches all invoice formats",
"sig": "8c8c62d413bb1b607d033c10ebbffb1cb55eb30ba7a63df10b1736ac38e44539a1039793a12af306f34d7ca1ad703f61aa6787d246671f97b975d7bc495b45da"
}