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


in reply to Re: regex on gigabyte string
in thread regex on gigabyte string

Tried that but took interminably long execution time even on the 1GB string.

The my @celltags = ($bigstring =~ /(<c.*?\/c>)/g); executed quickly on 1GB strings.