leiz
V2EX  ›  问与答

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

  •  
  •   leiz · Dec 15, 2011 · 5570 views
    This topic created in 5284 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   ·   1109 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 18:07 · PVG 02:07 · LAX 11:07 · JFK 14:07
    ♥ Do have faith in what you're doing.