http://www.perlmonks.org?node_id=771624

bala.linux has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks,

I am using a regular expression which matches 25 columns with grouping and it is very slow. My perl version is 5.8.8.Can some one please help me to improve its speed ? Will updating perl or using any regexp modules help ?

Regular Expression : (.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)\t(.+)

Thanks and Regards,
Bala