V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
leiz
V2EX  ›  问与答

@ 这个功能是如何实现的?

  •  
  •   leiz · Dec 15, 2011 · 5496 views
    This topic created in 5252 days ago, the information mentioned may be changed or developed.
    有能提供下思路的么?最近突然对这个有点兴趣。
    3 replies    1970-01-01 08:00:00 +08:00
    wptree
        1
    wptree  
       Dec 15, 2011
    正则表达式
    49degree
        2
    49degree  
       Dec 15, 2011
    应该是成功发布文章后,会用正则去提取所有的@ 到的对象,都添加通知消息
    leiz
        3
    leiz  
    OP
       Dec 16, 2011
    @49degree @wptree 谢谢,从git上拉了v2ex的源码看了下,确实是re,这两天看看把v2ex的代码都过一遍。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1512 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 16:21 · PVG 00:21 · LAX 09:21 · JFK 12:21
    ♥ Do have faith in what you're doing.