mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-21 02:10:05 +00:00
310 lines
6.2 KiB
Plaintext
310 lines
6.2 KiB
Plaintext
|
# 2.8.2 Regular Expression General Requirement
|
|||
|
2<EFBFBD>4<EFBFBD>bb*<2A>abbbc<62>
|
|||
|
2<EFBFBD>2<EFBFBD>bb*<2A>ababbbc<62>
|
|||
|
7<EFBFBD>9<EFBFBD>A#*::<3A>A:A#:qA::qA#::qA##::q<>
|
|||
|
1<EFBFBD>5<EFBFBD>A#*::<3A>A##::A#::qA::qA#:q<>
|
|||
|
# 2.8.3.1.2 BRE Special Characters
|
|||
|
# GA108
|
|||
|
2<EFBFBD>2<EFBFBD>\.<2E>a.c<>
|
|||
|
2<EFBFBD>2<EFBFBD>\[<5B>a[c<>
|
|||
|
2<EFBFBD>2<EFBFBD>\\<5C>a\c<>
|
|||
|
2<EFBFBD>2<EFBFBD>\*<2A>a*c<>
|
|||
|
2<EFBFBD>2<EFBFBD>\^<5E>a^c<>
|
|||
|
2<EFBFBD>2<EFBFBD>\$<24>a$c<>
|
|||
|
7<EFBFBD>11<EFBFBD>X\*Y\*8<>Y*8X*8X*Y*8<>
|
|||
|
# GA109
|
|||
|
2<EFBFBD>2<EFBFBD>[.]<5D>a.c<>
|
|||
|
2<EFBFBD>2<EFBFBD>[[]<5D>a[c<>
|
|||
|
-1<>-1<>[[]<5D>ac<61>
|
|||
|
2<EFBFBD>2<EFBFBD>[\]<5D>a\c<>
|
|||
|
1<EFBFBD>1<EFBFBD>[\a]<5D>abc<62>
|
|||
|
2<EFBFBD>2<EFBFBD>[\.]<5D>a\.c<>
|
|||
|
2<EFBFBD>2<EFBFBD>[\.]<5D>a.\c<>
|
|||
|
2<EFBFBD>2<EFBFBD>[*]<5D>a*c<>
|
|||
|
2<EFBFBD>2<EFBFBD>[$]<5D>a$c<>
|
|||
|
2<EFBFBD>2<EFBFBD>[X*Y8]<5D>7*8YX<59>
|
|||
|
# GA110
|
|||
|
2<EFBFBD>2<E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<>[^^]<5D>^<5E>
|
|||
|
1<EFBFBD>3<EFBFBD>\(a^b\)<29>a^b<>
|
|||
|
1<EFBFBD>3<EFBFBD>\(a\^b\)<29>a^b<>
|
|||
|
2<EFBFBD>2<EFBFBD>\(\^\)<29>a^b<>
|
|||
|
# GA115
|
|||
|
3<EFBFBD>3<EFBFBD>$$<24>ab$<24>
|
|||
|
-1<>-1<>$$<24>$ab<61>
|
|||
|
2<EFBFBD>3<EFBFBD>$c<>a$c<>
|
|||
|
2<EFBFBD>2<EFBFBD>[$]<5D>a$c<>
|
|||
|
1<EFBFBD>2<EFBFBD>\$a<>$a<>
|
|||
|
3<EFBFBD>3<EFBFBD>\$$<24>ab$<24>
|
|||
|
2<EFBFBD>6<EFBFBD>A\([34]$[34]\)B<>XA4$3BY<42>
|
|||
|
# 2.8.3.1.3 Perios in BREs
|
|||
|
# GA116
|
|||
|
1<EFBFBD>1<EFBFBD>.<2E>abc<62>
|
|||
|
-1<>-1<>.ab<61>abc<62>
|
|||
|
1<EFBFBD>3<EFBFBD>ab.<2E>abc<62>
|
|||
|
1<EFBFBD>3<EFBFBD>a.b<>a,b<>
|
|||
|
-1<>-1<>.......<2E>PqRs6<73>
|
|||
|
1<EFBFBD>7<EFBFBD>.......<2E>PqRs6T8<54>
|
|||
|
# 2.8.3.2 RE Bracket Expression
|
|||
|
# GA118
|
|||
|
2<EFBFBD>2<EFBFBD>[abc]<5D>xbyz<79>
|
|||
|
-1<>-1<>[abc]<5D>xyz<79>
|
|||
|
2<EFBFBD>2<EFBFBD>[abc]<5D>xbay<61>
|
|||
|
# GA119
|
|||
|
2<EFBFBD>2<EFBFBD>[^a]<5D>abc<62>
|
|||
|
4<EFBFBD>4<EFBFBD>[^]cd]<5D>cd]ef<65>
|
|||
|
2<EFBFBD>2<EFBFBD>[^abc]<5D>axyz<79>
|
|||
|
-1<>-1<>[^abc]<5D>abc<62>
|
|||
|
3<EFBFBD>3<EFBFBD>[^[.a.]b]<5D>abc<62>
|
|||
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EFBFBD>[a-c][e-f]<5D>acbedf<64>
|
|||
|
4<EFBFBD>8<EFBFBD>abc*XYZ<59>890abXYZ#*<2A>
|
|||
|
4<EFBFBD>9<EFBFBD>abc*XYZ<59>890abcXYZ#*<2A>
|
|||
|
4<EFBFBD>15<EFBFBD>abc*XYZ<59>890abccccccccXYZ#*<2A>
|
|||
|
-1<>-1<>abc*XYZ<59>890abc*XYZ#*<2A>
|
|||
|
# GA132
|
|||
|
2<EFBFBD>4<EFBFBD>\(*bc\)<29>a*bc<62>
|
|||
|
1<EFBFBD>2<EFBFBD>\(ab\)<29>abcde<64>
|
|||
|
1<EFBFBD>10<EFBFBD>\(a\(b\(c\(d\(e\(f\(g\)h\(i\(j\)\)\)\)\)\)\)\)<29>abcdefghijk<6A>
|
|||
|
3<EFBFBD>8<EFBFBD>43\(2\(6\)*0\)AB<41>654320ABCD<43>
|
|||
|
3<EFBFBD>9<EFBFBD>43\(2\(7\)*0\)AB<41>6543270ABCD<43>
|
|||
|
3<EFBFBD>12<EFBFBD>43\(2\(7\)*0\)AB<41>6543277770ABCD<43>
|
|||
|
# GA133
|
|||
|
1<EFBFBD>10<EFBFBD>\(a\(b\(c\(d\(e\(f\(g\)h\(i\(j\)\)\)\)\)\)\)\)<29>abcdefghijk<6A>
|
|||
|
-1<>-1<>\(a\(b\(c\(d\(e\(f\(g\)h\(i\(k\)\)\)\)\)\)\)\)<29>abcdefghijk<6A>
|
|||
|
# GA134
|
|||
|
2<EFBFBD>4<EFBFBD>\(bb*\)<29>abbbc<62>
|
|||
|
2<EFBFBD>2<EFBFBD>\(bb*\)<29>ababbbc<62>
|
|||
|
1<EFBFBD>6<EFBFBD>a\(.*b\)<29>ababbbc<62>
|
|||
|
1<EFBFBD>2<EFBFBD>a\(b*\)<29>ababbbc<62>
|
|||
|
1<EFBFBD>20<EFBFBD>a\(.*b\)c<>axcaxbbbcsxbbbbbbbbc<62>
|
|||
|
# GA135
|
|||
|
1<EFBFBD>7<EFBFBD>\(a\(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