Open stevenklassen8376 opened 3 years ago
Changing the line to
s/^\s*[0-9]\{1-2\}+\s*[\-\)]//;
should fix it.
PR #41 contains a different fix for the problem.
Excellent. I see it was committed in January of 2018. When are you planning to merge it into master?
Ninka is giving me the following warning message:
Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^\s[0-9]{ <-- HERE 1-2}+\s[-)]/ at /opt/kss/lib/perl5/site_perl/Ninka/SentenceExtractor.pm line 117.