V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
stack
V2EX  ›  问与答

请问怎么样用一个正则式表示,组成一个任意组合

  •  
  •   stack · Aug 4, 2010 · 3920 views
    This topic created in 5757 days ago, the information mentioned may be changed or developed.
    1. a11
    2. b22
    3. c33
    4. a11b22
    5. b22c33
    6. a11c33
    7. a11b22c33
    8. b22a11c33
    9. c33b22a11
    请问怎么样用一个正则式表示,字母为非捕获组,数字为捕组,第一个表达为
    1. (?<a>)[0-9]+
    2. (?<b>)[0-9]+
    3. (?<c>)[0-9]+
    4. (?<a>)[0-9]+(?<b>)[0-9]+
    5. ...(略)
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2951 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 221ms · UTC 06:17 · PVG 14:17 · LAX 23:17 · JFK 02:17
    ♥ Do have faith in what you're doing.