This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add RXf_UNBOUNDED_QUANTIFIER and regexp->maxlen
authorYves Orton <yves.orton@booking.com>
Sun, 2 Feb 2014 15:37:37 +0000 (23:37 +0800)
committerYves Orton <yves.orton@booking.com>
Mon, 3 Feb 2014 14:44:29 +0000 (22:44 +0800)
commitee273784a82417ff7a4ec06716556fb7fb705427
tree8f471a22d18b3b440cc87d95c8910ec01fe07b28
parentf25474b0531878b277e2bd50a823ced1a3df6000
Add RXf_UNBOUNDED_QUANTIFIER and regexp->maxlen

The flag tells us that a pattern may match an infinitely long string.

The new member in the regexp struct tells us how long the string might
be.

With these two items we can implement regexp based $/
regcomp.c
regcomp.h
regexp.h
regnodes.h