|Perl: the Markov chain saw|
Perl Complains of Nested Quantifiersby sunmaz (Novice)
|on May 22, 2012 at 15:31 UTC||Need Help??|
sunmaz has asked for the
wisdom of the Perl Monks concerning the following question:
I am attempting to change my previously greedy quantification into a possessive modality.
My regex is: /(\d++\.\d++)($meanSearchTerm)/oi
Perl complains thusly: Nested quantifiers in regex; marked by <-- HERE in m/([\d]++ <-- HERE \.[\d]++)( bits = mean)/ at ScanGenome.pl line 326, <RIBL> line 1.
I would like to resolve this without further capturing (so no additional parens).
Any help would be much appreciated. Thank you.