WildCat
V2EX  ›  Node.js

Express 的 param 正则匹配,似乎不能正确判断,寻原因

  •  
  •   WildCat · May 27, 2014 · 3779 views
    This topic created in 4560 days ago, the information mentioned may be changed or developed.
    6 replies  •  2014-06-02 13:30:31 +08:00
    wenLiangcan
    wenLiangcan
    May 27, 2014
    2
    失败了。。。
    WildCat
    WildCat
    OP
    May 27, 2014
    3
    wenLiangcan
    wenLiangcan
    May 27, 2014
    4
    @WildCat 我明明记得是把用户名去掉就可以的 =。=
    akfish
    akfish
    May 27, 2014❤️1
    5
    给lz推荐一个online tool:
    http://regex101.com/
    jakwings
    jakwings
    Jun 2, 2014❤️1
    6
    /^[0-9a-f]{24}$/
    注意开头和结尾。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2069 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 12:51 · PVG 20:51 · LAX 04:51 · JFK 07:51
    ♥ Do have faith in what you're doing.