Fix Cashu regex

This commit is contained in:
Jon Staab 2024-05-10 08:21:45 -07:00
parent 77c802c339
commit 170c683631

View File

@ -114,7 +114,7 @@ export const parseContent = (event: {content: string; tags?: string[][]}) => {
}
const parseCashu = () => {
const cashu = first(text.match(/^(cashu)[\d\w]{50,5000}/i))
const cashu = first(text.match(/^(cashu)[\d\w=]{50,5000}/i))
if (cashu) {
return [CASHU, cashu, cashu]