Tetsugen
V2EX  ›  问与答

正则表达式 \w 都在什么语言下匹配汉字?

  •  
  •   Tetsugen · Mar 15, 2019 via Android · 797 views
    This topic created in 2689 days ago, the information mentioned may be changed or developed.
    平时我使用时都是以等价于 [A-Za-z0-9_] 使用的,但是最近突然发现 \w 在不同语言下匹配的情况是不一样的,有的竟然还匹配汉字!?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   943 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 19:27 · PVG 03:27 · LAX 12:27 · JFK 15:27
    ♥ Do have faith in what you're doing.