Files
explore/lib/regexp.ts
T
tom goriunovandGitHub 0ed0015dc9 Block Countdown page (#2091)
* page placeholder

* block info snippet

* add actions for calendar buttons

* add timer

* add redirect when timer runs out

* add redirect from not found block page

* block countdown index page

* link to countdown index page

* add link to search suggest

* add URL to an event

* add link to block countdown on mobile

* tests

* add countdown text to search result page

* update margins

* show block countdown when search results are not empty
2024-07-18 08:56:28 +02:00

10 lines
224 B
TypeScript

export const URL_PREFIX = /^https?:\/\//i;
export const IPFS_PREFIX = /^ipfs:\/\//i;
export const HEX_REGEXP = /^(?:0x)?[\da-fA-F]+$/;
export const FILE_EXTENSION = /\.([\da-z]+)$/i;
export const BLOCK_HEIGHT = /^\d+$/;