适用于 Windows 的 Regex.h

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8230905/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 18:30:48  来源:igfitidea点击:

Regex.h for windows

cregexwindows

提问by Antonio F.

I'm using Code::Blocks on Windows to write a dll in C. I need to include regex.h. What's the simplest way to get regex.h for win?

我在 Windows 上使用 Code::Blocks 用 C 编写一个 dll。我需要包含 regex.h。获得 regex.h 的最简单方法是什么?

回答by pmg

Go to http://www.pcre.org/

转至http://www.pcre.org/

A precompiled Windows port of PCRE, which may be a few versions behind, is available courtesy the GnuWin32 project.

? http://gnuwin32.sourceforge.net/packages/pcre.htm

PCRE 的预编译 Windows 端口(可能落后几个版本)可通过 GnuWin32 项目获得。

? http://gnuwin32.sourceforge.net/packages/pcre.htm