📄 testoutput2
字号:
/^(aa(bb(bb))?)+$/Capturing subpattern count = 3Options: anchoredNo first charNo need char aabbbbaa 0: aabbbbaa 1: aa 2: bbbb 3: bb/--------------------------------------------------------------------/ Capturing subpattern count = 0No optionsFirst char = '-'Need char = '-' /#/xMDMemory allocation (code space): 7------------------------------------------------------------------ 0 3 Bra 0 3 3 Ket 6 End------------------------------------------------------------------Capturing subpattern count = 0Options: extendedNo first charNo need char/a#/xMDMemory allocation (code space): 9------------------------------------------------------------------ 0 5 Bra 0 3 a 5 5 Ket 8 End------------------------------------------------------------------Capturing subpattern count = 0Options: extendedFirst char = 'a'No need char/[\s]/D------------------------------------------------------------------ 0 36 Bra 0 3 [\x09\x0a\x0c\x0d ] 36 36 Ket 39 End------------------------------------------------------------------Capturing subpattern count = 0No optionsNo first charNo need char/[\S]/D------------------------------------------------------------------ 0 36 Bra 0 3 [\x00-\x08\x0b\x0e-\x1f!-\xff] 36 36 Ket 39 End------------------------------------------------------------------Capturing subpattern count = 0No optionsNo first charNo need char/a(?i)b/D------------------------------------------------------------------ 0 9 Bra 0 3 a 5 01 Opt 7 NC b 9 9 Ket 12 End------------------------------------------------------------------Capturing subpattern count = 0No optionsCase state changesFirst char = 'a'Need char = 'b' (caseless) ab 0: ab aB 0: aB *** Failers No match AB No match/(a(?i)b)/D------------------------------------------------------------------ 0 17 Bra 0 3 9 Bra 1 6 a 8 01 Opt 10 NC b 12 9 Ket 15 00 Opt 17 17 Ket 20 End------------------------------------------------------------------Capturing subpattern count = 1No optionsCase state changesFirst char = 'a'Need char = 'b' (caseless) ab 0: ab 1: ab aB 0: aB 1: aB *** Failers No match AB No match / (?i)abc/xD------------------------------------------------------------------ 0 9 Bra 0 3 NC abc 9 9 Ket 12 End------------------------------------------------------------------Capturing subpattern count = 0Options: caseless extendedFirst char = 'a' (caseless)Need char = 'c' (caseless)/#this is a comment (?i)abc/xD------------------------------------------------------------------ 0 9 Bra 0 3 NC abc 9 9 Ket 12 End------------------------------------------------------------------Capturing subpattern count = 0Options: caseless extendedFirst char = 'a' (caseless)Need char = 'c' (caseless)/123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/D------------------------------------------------------------------ 0 603 Bra 0 3 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890603 603 Ket606 End------------------------------------------------------------------Capturing subpattern count = 0No optionsFirst char = '1'Need char = '0'/\Q123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/D------------------------------------------------------------------ 0 603 Bra 0 3 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890603 603 Ket606 End------------------------------------------------------------------Capturing subpattern count = 0No optionsFirst char = '1'Need char = '0'/\Q\E/D------------------------------------------------------------------ 0 3 Bra 0 3 3 Ket 6 End------------------------------------------------------------------Capturing subpattern count = 0No optionsNo first charNo need char \ 0: /\Q\Ex/D------------------------------------------------------------------ 0 5 Bra 0 3 x 5 5 Ket 8 End------------------------------------------------------------------Capturing subpattern count = 0No optionsFirst char = 'x'No need char/ \Q\E/D------------------------------------------------------------------ 0 5 Bra 0 3 5 5 Ket 8 End------------------------------------------------------------------Capturing subpattern count = 0No optionsFirst char = ' 'No need char/a\Q\E/D------------------------------------------------------------------ 0 5 Bra 0 3 a 5 5 Ket 8 End------------------------------------------------------------------Capturing subpattern count = 0No optionsFirst char = 'a'No need char abc 0: a bca 0: a bac 0: a/a\Q\Eb/D------------------------------------------------------------------ 0 7 Bra 0 3 ab 7 7 Ket 10 End------------------------------------------------------------------Capturing subpattern count = 0No optionsFirst char = 'a'Need char = 'b' abc 0: ab/\Q\Eabc/D------------------------------------------------------------------ 0 9 Bra 0 3 abc 9 9 Ket 12 End------------------------------------------------------------------Capturing subpattern count = 0No optionsFirst char = 'a'Need char = 'c'/x*+\w/D------------------------------------------------------------------ 0 12 Bra 0 3 5 Once 6 x* 8 5 Ket 11 \w 12 12 Ket 15 End------------------------------------------------------------------Capturing subpattern count = 0Partial matching not supportedNo optionsNo first charNo need char *** Failers 0: F xxxxxNo match /x?+/D------------------------------------------------------------------ 0 11 Bra 0 3 5 Once 6 x? 8 5 Ket 11 11 Ket 14 End------------------------------------------------------------------Capturing subpattern count = 0No optionsNo first charNo need char/x++/D------------------------------------------------------------------ 0 11 Bra 0 3 5 Once 6 x+ 8 5 Ket 11 11 Ket 14 End------------------------------------------------------------------Capturing subpattern count = 0Partial matching not supportedNo optionsFirst char = 'x'No need char/x{1,3}+/D ------------------------------------------------------------------ 0 15 Bra 0 3 9 Once 6 x 8 x{,2} 12 9 Ket 15 15 Ket 18 End------------------------------------------------------------------Capturing subpattern count = 0Partial matching not supportedNo optionsFirst char = 'x'No need char/(x)*+/D------------------------------------------------------------------ 0 18 Bra 0 3 12 Once 6 Brazero 7 5 Bra 1 10 x 12 5 KetRmax 15 12 Ket 18 18 Ket 21 End------------------------------------------------------------------Capturing subpattern count = 1No optionsNo first charNo need char/^(\w++|\s++)*$/Capturing subpattern count = 1Partial matching not supportedOptions: anchoredNo first charNo need char now is the time for all good men to come to the aid of the party 0: now is the time for all good men to come to the aid of the party 1: party *** FailersNo match this is not a line with only words and spaces!No match /(\d++)(\w)/Capturing subpattern count = 2Partial matching not supportedNo optionsNo first charNo need char 12345a 0: 12345a 1: 12345 2: a *** FailersNo match 12345+ No match/a++b/Capturing subpattern count = 0Partial matching not supportedNo optionsFirst char = 'a'Need char = 'b' aaab 0: aaab/(a++b)/Capturing subpattern count = 1Partial matching not supportedNo optionsFirst char = 'a'Need char = 'b' aaab 0: aaab 1: aaab/(a++)b/Capturing subpattern count = 1Partial matching not supportedNo optionsFirst char = 'a'Need char = 'b' aaab 0: aaab 1: aaa/([^()]++|\([^()]*\))+/Capturing subpattern count = 1Partial matching not supportedNo optionsNo first charNo need char ((abc(ade)ufh()()x 0: abc(ade)ufh()()x 1: x /\(([^()]++|\([^()]+\))+\)/ Capturing subpattern count = 1Partial matching not supportedNo optionsFirst char = '('Need char = ')' (abc) 0: (abc) 1: abc (abc(def)xyz) 0: (abc(def)xyz) 1: xyz *** FailersNo match ((()aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa No match/(abc){1,3}+/D------------------------------------------------------------------ 0 53 Bra 0 3 47 Once 6 9 Bra 1 9 abc 15 9 Ket 18 Brazero 19 28 Bra 0 22 9 Bra 1 25 abc 31 9 Ket 34 Brazero 35 9 Bra 1 38 abc 44 9 Ket 47 28 Ket 50 47 Ket 53 53 Ket 56 End------------------------------------------------------------------Capturing subpattern count = 1No optionsFirst char = 'a'Need char = 'c'/a+?+/Failed: nothing to repeat at offset 3/a{2,3}?+b/Failed: nothing to repeat at offset 7/(?U)a+?+/Failed: nothing to repeat at offset 7/a{2,3}?+b/UFailed: nothing to repeat at offset 7/x(?U)a++b/D------------------------------------------------------------------ 0 15 Bra 0 3 x 5 5 Once 8 a+ 10 5 Ket 13 b 15 15 Ket 18 End------------------------------------------------------------------Capturing subpattern count = 0Partial matching not supportedNo optionsFirst char = 'x'Need char = 'b' xaaaab 0: xaaaab/(?U)xa++b/D------------------------------------------------------------------ 0 15 Bra 0 3 x 5 5 Once 8 a+ 10 5 Ket 13 b 15 15 Ket 18 End------------------------------------------------------------------Capturing subpattern count = 0Partial matching not supportedOptions: ungreedyFirst char = 'x'Need char = 'b' xaaaab 0: xaaaab/^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/D------------------------------------------------------------------ 0 106 Bra 0 3 ^ 4 99 Bra 1 7 5 Bra 2 10 a+ 12 5 Ket 15 37 Bra 3 18 [ab]+? 52 37 Ket 55 37 Bra 4 58 [bc]+ 92 37 Ket 95 5 Bra 5 98 \w*100 5 Ket103 99 Ket106 106 Ket109 End------------------------------------------------------------------Capturing subpattern count = 5Partial matching not supportedOptions: anchoredNo first charNo need char/^x(?U)a+b/D------------------------------------------------------------------ 0 10 Bra 0 3 ^ 4 x 6 a+? 8 b 10 10 Ket 13 End------------------------------------------------------------------Capturing subpattern count = 0Partial matching not supportedOptions: anchoredNo first charNeed char = 'b'/^x(?U)(a+)b/D------------------------------------------------------------------ 0 16 Bra 0 3 ^ 4 x 6 5 Bra 1 9 a+? 11 5 Ket 14 b 16 16 Ket 19 End------------------------------------------------------------------Capturing subpattern count = 1Partial matching not supportedOptions: anchoredNo first charNeed char = 'b'/[.x.]/Failed: POSIX collating elements are not supported at offset 0/[=x=]/Failed: POSIX collating elements are not supported at offset 0/[:x:]/Failed: POSIX named classes are supported only within a class at offset 0/\l/Failed: PCRE does not support \L, \l, \N, \U, or \u at offset 1/\L/Failed: PCRE does not support \L, \l, \N, \U, or \u at offset 1/\N{name}/Failed: PCRE does not support \L, \l, \N, \U, or \u at offset 1/\u/Failed: PCRE does not support \L, \l, \N, \U, or \u at offset 1/\U/Failed: PCRE does not support \L, \l, \N, \U, or \u at offset 1/[/Failed: missing terminating ] for character class at offset 1/[a-/Failed: missing terminating ] for character class at offset 3/[[:space:]/Failed: missing terminating ] for character class at offset 10/[\s]/DMMemory allocation (code space): 40------------------------------------------------------------------ 0 36 Bra 0 3 [\x09\x0a\x0c\x0d ] 36 36 Ket 39 End------------------------------------------------------------------Capturing subpattern count = 0No optionsNo first charNo need char/[[:space:]]/DMMemory allocation (code space): 40------------------------------------------------------------------ 0 36 Bra 0 3 [\x09-\x0d ] 36 36 Ket 39 End------------------------------------------------------------------Capturing subpattern count = 0No optionsNo first charNo need char/[[:space:]abcde]/DMMemory allocation (code space): 40------------------------------------------------------------------ 0 36 Bra 0 3 [\x09-\x0d a-e] 36 36 Ket 39 End------------------------------------------------------------------Capturing subpattern count = 0No optionsNo first charNo need char/< (?: (?(R) \d++ | [^<>]*+) | (?R)) * >/xCapturing subpattern count = 0Partial matching not supportedOptions: extendedFirst char = '<'Need char = '>' <> 0: <> <abcd> 0: <abcd> <abc <123> hij> 0: <abc <123> hij> <abc <def> hij> 0: <def> <abc<>def> 0: <abc<>def> <abc<> 0: <> *** FailersNo match <abcNo match|8J\$WE\<\.rX\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|DMMemory allocation (code space): 826------------------------------------------------------------------ 0 822 Bra 0 3 8J$WE<.rX+ix[d1b!H#?vV0vrK:ZH1=2M>iV;?aPhFB<*vW@QW@sO9}cfZA-i'w%hKd6gt1UJP,15_#QY$M^Mss_U/]&LK9[5vQub^w[KDD<EjmhUZ?.akp2dF>qmj;2}YWFdYx.Ap]hjCPTP(n28k+3;o&WXqs/gOXdr$:r'do0;b4c(f_Gr="\4)[01T7ajQJvL$W~mL_sS/4h:x*[ZN=KLs&L5zX//>it,o:aU(;Z>pW&T7oP'2K^E:x9'c[%z-,64JQ5AeH_G#KijUKghQw^\vea3a?kka_G$8#`*kynsxzBLru']k_[7FrVx}^=$blx>s-N%j;D*aZDnsw:YKZ%Q.Kne9#hP?+b3(SOvL,^;&u5@?5C5Bhb=m-vEh_L15Jl]U)0RP6{q%L^_z5E'Dw6X821 \b822 822 Ket825 End------------------------------------------------------------------Capturing subpattern count = 0No optionsFirst char = '8'Need char = 'X'|\$\<\.X\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -