nayakgi / perl-compiler

Automatically exported from code.google.com/p/perl-compiler
Other
0 stars 0 forks source link

value of @- is wrong #295

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
    perlcc -r -e '"zzaaabbb" =~ m/(a+)(b+)/ and print "@- : @+\n"'

What is the expected output? What do you see instead?
expected "2 2 5 : 8 5 8" got "8 5 8 : 8 5 8".

The value of @- variable reflect the value of match-end rather than match-start 
positions.

What perl version are you using? Threaded? -DDEBUGGING? On what operating 
system?

perl 5.18.2; threaded and no -DDEBUGGING. CentOS 5.3 x86_64.

Please provide any additional information below.

n/a

Original issue reported on code.google.com by YungChin...@gmail.com on 10 Feb 2014 at 12:56

GoogleCodeExporter commented 9 years ago

Original comment by reini.urban on 10 Feb 2014 at 3:40

GoogleCodeExporter commented 9 years ago

Original comment by reini.urban on 10 Feb 2014 at 3:47