in reply to Enforcing growth of regex
My suggestion is that you simplify this down to just a few lines, where the problem you're having is exhibited in a brief example. Make the input a hardcoded list; eg.:
so it doesn't take the user a lot of extra setup to be able to duplicate the problem. Perhaps you can even show several examples (with code, not just words) of what you've tried. The reason I'm suggesting this is twofold -- not only will you make the problem quicker to reproduce, and thus more tempting to try to solve, but you may actually find an answer yourself in the process of elucidating what you've tried.my @lines = ( "110. Wunder, E.; Burghardt, U.; Lang, B.; Hamilton, L.: Fanconi's", "anemia: anomaly of enzyme passage through the nuclear membrane? Ano +malous", "intracellular distribution of topoisomerase activity in placental", "extracts in a case of Fanconi's anemia. Hum. Genet. 58: 149-155,", "1981.", "", );
|
|---|