aanoaa / p5-hubot

hubot perl port
15 stars 3 forks source link

등록된 regex 의 substr warning #26

Closed aanoaa closed 12 years ago

aanoaa commented 12 years ago

substr outside of string at /home/hshong/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/Hubot/Robot.pm line 183.

    $modifiers = substr $stringRegex, 3, $modifiersLen if $modifiersLen > 0;

이거인데, regex 가 두글자 이하일때 발생하는 문제임

aanoaa commented 12 years ago

f788371