iHateregex.io 的代码 - 正则表达式速成课
v2 — iHateRegex 已经从头开始在 TypeScript、TanStack Start 和 PostgreSQL 上重建。原始的 Nuxt 版本位于
v1分支。
要求: Node.js 22.12+、pnpm 10+ 和 PostgreSQL。
# clone this repo, then:
pnpm install
# create the database and environment file
createdb ihateregex_next
cp apps/web/.env.example apps/web/.env.local
# set DATABASE_URL, BETTER_AUTH_URL, and a random 32+ character BETTER_AUTH_SECRET
pnpm db:migrate # apply database migrations
pnpm dev # serve at http://127.0.0.1:3000其他命令:
pnpm build # production build of both workspace packages
pnpm check # type-check every workspace package
pnpm diagram:dev # run the diagram renderer package demo
pnpm start # run the production web server为这个项目做出贡献,使其成为最丰富的有用表达式集合
apps/web/src/content/regexes.json 中添加您的正则表达式暂无开放 Issues,或尚未同步最近议题。