Tetsugen
V2EX  ›  问与答

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

  •  
  •   Tetsugen · Mar 15, 2019 via Android · 696 views
    This topic created in 2617 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   ·   4487 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 106ms · UTC 05:32 · PVG 13:32 · LAX 22:32 · JFK 01:32
    ♥ Do have faith in what you're doing.