V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
marcolee
V2EX  ›  正则表达式

CI 框架里面 xss_clean 方法用到正则的疑问。

  •  
  •   marcolee · 2016-04-26 14:20:03 +08:00 · 1863 次点击
    这是一个创建于 2922 天前的主题,其中的信息可能已经有所发展或是发生改变。

    $non_displayables[] = '/%0[0-8bcef]/'; $non_displayables[] = '/%1[0-9a-f]/'; $non_displayables[] = '/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]+/S';

    这些正则作业是什么?

    1 条回复    2016-04-26 14:29:06 +08:00
    audi
        1
    audi  
       2016-04-26 14:29:06 +08:00 via iPhone
    下面呢?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2805 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 04:05 · PVG 12:05 · LAX 21:05 · JFK 00:05
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.