leiz
V2EX  ›  问与答

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

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