feat: replace http nostr links with native nostr links
closes #666 refactor: embeds
This commit is contained in:
@ -4,3 +4,8 @@
|
||||
export const EmailRegex =
|
||||
// eslint-disable-next-line no-useless-escape
|
||||
/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
||||
|
||||
/**
|
||||
* Match any NIP-19 code
|
||||
*/
|
||||
export const Bech32Regex = /(n(?:pub|profile|event|ote|addr|req|relay|chat)1[acdefghjklmnpqrstuvwxyz023456789]+)/;
|
||||
|
@ -6,3 +6,4 @@ export * from "./feed-cache";
|
||||
export * from "./invoices";
|
||||
export * from "./dexie-like";
|
||||
export * from "./SortedMap/SortedMap";
|
||||
export * from "./const";
|
||||
|
Reference in New Issue
Block a user