百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

pomsky

> 后端框架
开源

一种新的、便携式的正则表达式语言

1.4K stars0 点赞1 次浏览
访问官网GitHub

工具介绍

一种新的、便携式的正则表达式语言

Get Started

To begin, check out the website.

What's New

Read the blog or the changelog to learn about new features.

Installation

You can install Pomsky by...

  • downloading a pre-built binary
  • using the shell or PowerShell installer
  • using the Windows msi installer
  • installing the @pomsky-lang/cli NPM module globally
  • installing the pomsky-bin AUR package

See the releases page for instructions.

Build from source

Ensure you have a recent Rust toolchain installed. Instructions for how to install Rust can be found here. Then run

bash
cargo install pomsky-bin

Compatibility and portability

Pomsky is currently compatible with PCRE, JavaScript, Java, .NET, Python, Ruby, Rust, and RE2. The regex flavor must be specified during compilation, so Pomsky can ensure that the produced regex works as desired on the targeted regex engine.

Note: You should enable Unicode support in your regex engine, if it isn't enabled by default. This is explained here.

There are a few situations where Pomsky expressions are not portable, explained here.

Security

Never compile or execute an untrusted Pomsky expression on your critical infrastructure. This may make you vulnerable for denial of service attacks, like the Billion Laughs attack.

Read more

Diagnostics

Pomsky looks for mistakes and displays helpful diagnostics:

  • It shows an error if you use a feature not supported by the targeted regex flavor
  • It detects syntax errors and shows suggestions on how to resolve them
  • It parses backslash escapes (which are not allowed in a Pomsky expression) and explains what to write instead
  • It looks for likely mistakes and displays warnings
  • It looks for patterns that can be very slow for certain inputs and are susceptible to Denial-of-Service attacks (coming soon)

Comparison with other projects

I wrote an in-depth comparison with similar projects, which you can find here.

Code of Conduct

The Code of Conduct can be found here.

Contributing

You can contribute by using Pomsky and providing feedback. If you find a bug or have a question, please create an issue.

I also gladly accept code contributions. More information

Sponsor this project

Go to my sponsors page

License

Dual-licensed under the MIT license or the Apache 2.0 license.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustpomskyregexregexpregular-expression

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类后端框架
定价开源

> 相关工具

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架