mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-29 00:10:52 +00:00
Fix Cashu regex
This commit is contained in:
parent
77c802c339
commit
170c683631
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user