Home > other >  The regular python ipv6 feel hard to write
The regular python ipv6 feel hard to write

Time:12-02

Can someone tell me? Simply the kind of

CodePudding user response:

Look for the regular book, IPV4, just write

CodePudding user response:

Regular practice site, debugging, slowly to have a variety of regular characters description
https://regex101.com/

On regular area [\ [a - zA - Z0-9 \] {0, 4} :] {7} [a zA - Z0-9] {0, 4}

On the test string area
2001:0 db8:3 c4d: 0015:0000-0000:1 a2f: 1 a2b
2001:0 db8:3 c4d: 0:00 00:00 00:1 a2f: 1 a2b
2001: : 3 c4d: : 0015-0000:1 a2f: 1 a2b

CodePudding user response:

refer to the second floor xujibicool response:
practice regular site, slowly debugging, there are all sorts of regular characters description
https://regex101.com/

On regular area [\ [a - zA - Z0-9 \] {0, 4} :] {7} [a zA - Z0-9] {0, 4}

On the test string area
2001:0 db8:3 c4d: 0015:0000-0000:1 a2f: 1 a2b
2001:0 db8:3 c4d: 0:00 00:00 00:1 a2f: 1 a2b
2001: : 3 c4d: : 0015-0000:1 a2f: 1 a2b

This can write, is n many scenes of merger make uncertain, saw a super simple writing, didn't understand
  • Related