line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package re::engine::Lua; |
2
|
14
|
|
|
14
|
|
277592
|
use strict; |
|
14
|
|
|
|
|
34
|
|
|
14
|
|
|
|
|
382
|
|
3
|
14
|
|
|
14
|
|
70
|
use warnings; |
|
14
|
|
|
|
|
27
|
|
|
14
|
|
|
|
|
369
|
|
4
|
14
|
|
|
14
|
|
298
|
use 5.010; |
|
14
|
|
|
|
|
42
|
|
5
|
14
|
|
|
14
|
|
71
|
use XSLoader; |
|
14
|
|
|
|
|
23
|
|
|
14
|
|
|
|
|
968
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
BEGIN { |
8
|
|
|
|
|
|
|
# All engines should subclass the core Regexp package |
9
|
14
|
|
|
14
|
|
170
|
our @ISA = qw( Regexp ); |
10
|
|
|
|
|
|
|
|
11
|
14
|
|
|
|
|
32
|
our $VERSION = '0.16'; |
12
|
14
|
|
|
|
|
9437
|
XSLoader::load __PACKAGE__, $VERSION; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub import { |
16
|
14
|
|
|
14
|
|
170
|
$^H{regcomp} = ENGINE; |
17
|
14
|
|
|
|
|
15568
|
return; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub unimport { |
21
|
|
|
|
|
|
|
delete $^H{regcomp} |
22
|
3
|
50
|
|
3
|
|
4123
|
if $^H{regcomp} == ENGINE; |
23
|
3
|
|
|
|
|
3237
|
return; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |