RetroSeq icon indicating copy to clipboard operation
RetroSeq copied to clipboard

Useless use of greediness modifier '+' in regex

Open zine-el-aabidine opened this issue 7 years ago • 2 comments

Hi

I ran retroseq.pl and i got the errors : Useless use of greediness modifier '+' in regex; marked by <-- HERE in m/^[0-9]{2}+ <-- HERE S/ at /home/eq_jcl/Projects/MNase_and_Sonicseq/contig_analysis_approche_2/retroseq//RetroSeq-master/bin/../RetroSeq/Utilities.pm line 190. Useless use of greediness modifier '+' in regex; marked by <-- HERE in m/[0-9]{2}+ <-- HERE S$/ at /home/eq_jcl/Projects/MNase_and_Sonicseq/contig_analysis_approche_2/retroseq//RetroSeq-master/bin/../RetroSeq/Utilities.pm line 195. Useless use of greediness modifier '+' in regex; marked by <-- HERE in m/^[0-9]{2}+ <-- HERE S/ at /home/eq_jcl/Projects/MNase_and_Sonicseq/contig_analysis_approche_2/retroseq//RetroSeq-master/bin/../RetroSeq/Utilities.pm line 204. Useless use of greediness modifier '+' in regex; marked by <-- HERE in m/[0-9]{2}+ <-- HERE S$/ at /home/eq_jcl/Projects/MNase_and_Sonicseq/contig_analysis_approche_2/retroseq//RetroSeq-master/bin/../RetroSeq/Utilities.pm line 209. Useless use of greediness modifier '+' in regex; marked by <-- HERE in m/[0-9]{2}+ <-- HERE S$/ at /home/eq_jcl/Projects/MNase_and_Sonicseq/contig_analysis_approche_2/retroseq//RetroSeq-master/bin/../RetroSeq/Utilities.pm line 218. Useless use of greediness modifier '+' in regex; marked by <-- HERE in m/^[0-9]{2}+ <-- HERE S/ at /home/eq_jcl/Projects/MNase_and_Sonicseq/contig_analysis_approche_2/retroseq//RetroSeq-master/bin/../RetroSeq/Utilities.pm line 219. Useless use of private variable in void context at /home/eq_jcl/Projects/MNase_and_Sonicseq/contig_analysis_approche_2/retroseq//RetroSeq-master/bin/retroseq.pl line 184.

Do you have an idea about how to solve this problem please.

Thank you

zine-el-aabidine avatar Nov 06 '17 09:11 zine-el-aabidine

Can you post the command that you ran?

tk2 avatar Oct 29 '18 12:10 tk2

perl 5.20 was effected, take a look: https://github.com/perl/perl5/issues/14857

rsFalse avatar Jan 01 '24 15:01 rsFalse