line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package re::engine::Oniguruma; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
require 5.009005; |
4
|
|
|
|
|
|
|
|
5
|
14
|
|
|
14
|
|
491063
|
use strict; |
|
14
|
|
|
|
|
35
|
|
|
14
|
|
|
|
|
949
|
|
6
|
14
|
|
|
14
|
|
87
|
use warnings; |
|
14
|
|
|
|
|
32
|
|
|
14
|
|
|
|
|
432
|
|
7
|
14
|
|
|
14
|
|
85
|
use XSLoader (); |
|
14
|
|
|
|
|
40
|
|
|
14
|
|
|
|
|
8262
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# All engines should subclass the core Regexp package |
10
|
|
|
|
|
|
|
our @ISA = 'Regexp'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
our $VERSION = '0.05'; |
13
|
|
|
|
|
|
|
XSLoader::load __PACKAGE__, $VERSION; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub import { |
16
|
13
|
|
|
13
|
|
25553
|
$^H{regcomp} = ENGINE(); |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub unimport { |
20
|
3
|
50
|
|
3
|
|
14011
|
delete $^H{regcomp} |
21
|
|
|
|
|
|
|
if $^H{regcomp} == ENGINE(); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |