~ubuntu-branches/ubuntu/trusty/pcre3/trusty

« back to all changes in this revision

Viewing changes to testdata/testoutput21

  • Committer: Package Import Robot
  • Author(s): Mark Baker
  • Date: 2012-03-23 22:34:54 UTC
  • mfrom: (23.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20120323223454-grhqqolk8a7x1h24
Tags: 1:8.30-4
* Reluctantly using an epoch, as it seems the funny version number with
  extra dots causes problems
* Bumped standard version to 3.9.3. No changes needed
* Converted to use new source format / quilt
* Put back obsolete pcre_info() API that upstream have dropped (Closes:
  #665300, #665356)
* Don't include pcregrep binary in debug package

Thanks to Elimar Riesebieter for the conversion to the new source format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/-- Tests for reloading pre-compile patterns. The first one gives an error
 
2
right away. The others require the linke size to be 2. */
 
3
 
 
4
<!testsaved8
 
5
Compiled pattern loaded from testsaved8
 
6
No study data
 
7
Error -28 from pcre16_fullinfo(0)
 
8
Running in 16-bit mode but pattern was compiled in 8-bit mode
 
9
 
 
10
/-- Generated from: ^[aL](?P<name>(?:[AaLl]+)[^xX-]*?)(?P<other>[\x{150}-\x{250}\x{300}]|[^\x{800}aAs-uS-U\x{d800}-\x{dfff}])++[^#\b\x{500}\x{1000}]{3,5}$ --/
 
11
 
 
12
<!testsaved16LE-1
 
13
Compiled pattern loaded from testsaved16LE-1
 
14
Study data loaded from testsaved16LE-1
 
15
------------------------------------------------------------------
 
16
  0 134 Bra
 
17
  2     ^
 
18
  3     [La]
 
19
 20  43 CBra 1
 
20
 23  20 Bra
 
21
 25     [ALal]+
 
22
 43  20 Ket
 
23
 45     [\x00-,.-WY-wy-\xff] (neg)*?
 
24
 63  43 Ket
 
25
 65  12 CBraPos 2
 
26
 68     [\x{150}-\x{250}\x{300}]
 
27
 77  27 Alt
 
28
 79     [^AS-Uas-u\x{800}\x{d800}-\x{dfff}]
 
29
104  39 KetRpos
 
30
106     [^\x08#\x{500}\x{1000}]{3,5}
 
31
133     $
 
32
134 134 Ket
 
33
136     End
 
34
------------------------------------------------------------------
 
35
Capturing subpattern count = 2
 
36
Named capturing subpatterns:
 
37
  name    1
 
38
  other   2
 
39
Options: anchored
 
40
No first char
 
41
No need char
 
42
Subject length lower bound = 6
 
43
No set of starting bytes
 
44
 
 
45
<!testsaved16BE-1
 
46
Compiled pattern loaded from testsaved16BE-1
 
47
Study data loaded from testsaved16BE-1
 
48
------------------------------------------------------------------
 
49
  0 134 Bra
 
50
  2     ^
 
51
  3     [La]
 
52
 20  43 CBra 1
 
53
 23  20 Bra
 
54
 25     [ALal]+
 
55
 43  20 Ket
 
56
 45     [\x00-,.-WY-wy-\xff] (neg)*?
 
57
 63  43 Ket
 
58
 65  12 CBraPos 2
 
59
 68     [\x{150}-\x{250}\x{300}]
 
60
 77  27 Alt
 
61
 79     [^AS-Uas-u\x{800}\x{d800}-\x{dfff}]
 
62
104  39 KetRpos
 
63
106     [^\x08#\x{500}\x{1000}]{3,5}
 
64
133     $
 
65
134 134 Ket
 
66
136     End
 
67
------------------------------------------------------------------
 
68
Capturing subpattern count = 2
 
69
Named capturing subpatterns:
 
70
  name    1
 
71
  other   2
 
72
Options: anchored
 
73
No first char
 
74
No need char
 
75
Subject length lower bound = 6
 
76
No set of starting bytes
 
77
 
 
78
/-- End of testinput21 --/