~ubuntu-branches/debian/experimental/ncbi-tools6/experimental

« back to all changes in this revision

Viewing changes to regexp/test/testdata/testinput5

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-03-27 12:00:15 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050327120015-embhesp32nj73p9r
Tags: 6.1.20041020-3
* Fix FTBFS under GCC 4.0 caused by inconsistent use of "static" on
  functions.  (Closes: #295110.)
* Add a watch file, now that we can.  (Upstream's layout needs version=3.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/-- Because of problems with Perl 5.6 in handling UTF-8 vs non UTF-8 --/
 
2
/-- strings automatically, do not use the \x{} construct except with --/
 
3
/-- patterns that have the /8 option set, and don't use them without! --/
 
4
 
 
5
/a.b/8
 
6
    acb
 
7
    a\x7fb
 
8
    a\x{100}b 
 
9
    *** Failers
 
10
    a\nb  
 
11
 
 
12
/a(.{3})b/8
 
13
    a\x{4000}xyb 
 
14
    a\x{4000}\x7fyb 
 
15
    a\x{4000}\x{100}yb 
 
16
    *** Failers
 
17
    a\x{4000}b 
 
18
    ac\ncb 
 
19
 
 
20
/a(.*?)(.)/
 
21
    a\xc0\x88b
 
22
 
 
23
/a(.*?)(.)/8
 
24
    a\x{100}b
 
25
 
 
26
/a(.*)(.)/
 
27
    a\xc0\x88b
 
28
 
 
29
/a(.*)(.)/8
 
30
    a\x{100}b
 
31
 
 
32
/a(.)(.)/
 
33
    a\xc0\x92bcd
 
34
 
 
35
/a(.)(.)/8
 
36
    a\x{240}bcd
 
37
 
 
38
/a(.?)(.)/
 
39
    a\xc0\x92bcd
 
40
 
 
41
/a(.?)(.)/8
 
42
    a\x{240}bcd
 
43
 
 
44
/a(.??)(.)/
 
45
    a\xc0\x92bcd
 
46
 
 
47
/a(.??)(.)/8
 
48
    a\x{240}bcd
 
49
 
 
50
/a(.{3})b/8
 
51
    a\x{1234}xyb 
 
52
    a\x{1234}\x{4321}yb 
 
53
    a\x{1234}\x{4321}\x{3412}b 
 
54
    *** Failers
 
55
    a\x{1234}b 
 
56
    ac\ncb 
 
57
 
 
58
/a(.{3,})b/8
 
59
    a\x{1234}xyb 
 
60
    a\x{1234}\x{4321}yb 
 
61
    a\x{1234}\x{4321}\x{3412}b 
 
62
    axxxxbcdefghijb 
 
63
    a\x{1234}\x{4321}\x{3412}\x{3421}b 
 
64
    *** Failers
 
65
    a\x{1234}b 
 
66
 
 
67
/a(.{3,}?)b/8
 
68
    a\x{1234}xyb 
 
69
    a\x{1234}\x{4321}yb 
 
70
    a\x{1234}\x{4321}\x{3412}b 
 
71
    axxxxbcdefghijb 
 
72
    a\x{1234}\x{4321}\x{3412}\x{3421}b 
 
73
    *** Failers
 
74
    a\x{1234}b 
 
75
 
 
76
/a(.{3,5})b/8
 
77
    a\x{1234}xyb 
 
78
    a\x{1234}\x{4321}yb 
 
79
    a\x{1234}\x{4321}\x{3412}b 
 
80
    axxxxbcdefghijb 
 
81
    a\x{1234}\x{4321}\x{3412}\x{3421}b 
 
82
    axbxxbcdefghijb 
 
83
    axxxxxbcdefghijb 
 
84
    *** Failers
 
85
    a\x{1234}b 
 
86
    axxxxxxbcdefghijb 
 
87
 
 
88
/a(.{3,5}?)b/8
 
89
    a\x{1234}xyb 
 
90
    a\x{1234}\x{4321}yb 
 
91
    a\x{1234}\x{4321}\x{3412}b 
 
92
    axxxxbcdefghijb 
 
93
    a\x{1234}\x{4321}\x{3412}\x{3421}b 
 
94
    axbxxbcdefghijb 
 
95
    axxxxxbcdefghijb 
 
96
    *** Failers
 
97
    a\x{1234}b 
 
98
    axxxxxxbcdefghijb 
 
99
 
 
100
/^[a\x{c0}]/8
 
101
    *** Failers
 
102
    \x{100}
 
103
 
 
104
/(?<=aXb)cd/8
 
105
    aXbcd
 
106
 
 
107
/(?<=a\x{100}b)cd/8
 
108
    a\x{100}bcd
 
109
 
 
110
/(?<=a\x{100000}b)cd/8
 
111
    a\x{100000}bcd
 
112
    
 
113
/(?:\x{100}){3}b/8
 
114
    \x{100}\x{100}\x{100}b
 
115
    *** Failers 
 
116
    \x{100}\x{100}b
 
117
 
 
118
/ End of testinput5 /