Mac OS X 10.6 的正则表达式库

发布于 2024-08-14 17:11:46 字数 110 浏览 4 评论 0原文

是否有一个与 PCRE 兼容的库可以在 Mac OS X 10.6 上使用,并且与 Unicode 兼容?

我本来想使用谓词,但当应用程序尚未使用 Spotlight 谓词时,这有点过分了。

Is there a library compatible with PCRE that can be used on Mac OS X 10.6, and which is Unicode compatible?

I was thinking to use the predicates, but it is a little excessive when the application is not already using Spotlight predicates.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

蘑菇王子 2024-08-21 17:11:46

我推荐 RegexKitLite。虽然它不像完整的 RegexKit 那样功能齐全,但它的开发更加积极,并且可以在 iPhone 和桌面应用程序上使用。

这也是对您的应用程序的一个非常小的补充,对最终可执行文件的大小没有太大影响。

I'd recommend RegexKitLite. While it's not quiet as full featured as the full RegexKit it's more actively developed, and is usable on both the iphone and desktop apps.

It's also a very very small addition to your app not having much impact on the end executable size.

ι不睡觉的鱼゛ 2024-08-21 17:11:46

RegexKit 怎么样?

How about RegexKit?

向地狱狂奔 2024-08-21 17:11:46

还有 OgreKit,由 TextMate 使用,显然还有 SubEthaEdit 和一些其他重量级选手

There's also OgreKit, used by TextMate, and apparently SubEthaEdit and some other heavy-hitters

败给现实 2024-08-21 17:11:46

除了 RegexKit 和 OgreKit 之外,这里还有其他几个选项: http://cocoaheads.byu.edu /资源/正则表达式

In addition to RegexKit and OgreKit, there are a couple other options here: http://cocoaheads.byu.edu/resources/regex

请恋爱 2024-08-21 17:11:46

作为已经报告的框架的替代方案,还有 OFRegularExpression,它是 OmniFoundation。由于它是更大框架的一部分,因此它可能不是正确的选择,或者如果需要框架的其他部分,则应考虑它。

As alternative to the frameworks already reported, there is also OFRegularExpression, which is part of OmniFoundation. As it is part of a bigger framework, it could not be the right choice, or it should be considered if other parts of the framework are required.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文