lwjefSub
V2EX  ›  问与答

掉 javascript 和 "正则" 坑里了

  •  
  •   lwjefSub · Aug 20, 2012 · 3541 views
    This topic created in 5038 days ago, the information mentioned may be changed or developed.
    resptxt 这是用 GMxml 取来的一个网页字符串,
    之前用 replace.(/(?! )\s)/g, "") 处理了下

    有一个块中写的正则没问题, 图中所在的块各种取不出来, 但是在 firebug 中取没问题, 然后我写了个测试




    为什么会是这样!!!
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2829 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 08:53 · PVG 16:53 · LAX 01:53 · JFK 04:53
    ♥ Do have faith in what you're doing.