Nginx 使用什么正则表达式引擎? [英] What regular expression engine does Nginx use?

查看:31
本文介绍了Nginx 使用什么正则表达式引擎?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Nginx 使用什么正则表达式引擎?有很多可能性. 更重要的是,它支持什么风格的语法,也就是什么我可以使用语法功能吗?

What regular expression engine does Nginx use? There are a lot of possibilities. More to the point, what flavor of syntax does it support, that is, what syntax features can I make use of?

推荐答案

Nginx 使用 PCRE 库.编译时选项列表对此有一些说明.

Nginx uses the PCRE library. The compile-time options list has some notes on this.

这篇关于Nginx 使用什么正则表达式引擎?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆