[Patch, PR 61061] Add state limit for regex NFA

Jonathan Wakely jwakely@redhat.com
Thu Jul 17 09:34:00 GMT 2014


On 16/07/14 21:46 +0200, Maksymilian A wrote:
>Implementation based on vectors are good idea.  It seems to me that this
>does not solve all problems. I would like to ask about the
>regex_constants::error_type how it's implemented? From the safety point of
>view the most important are error_space, error_stack and error_complexity.
>In documentation I've found
>
>error_complexity - the complexity of an attempted match against a regular
>expression exceeded a pre-set level
>
>How its implemented and where is exactly defined 'pre-set level'? Thanks

error_complexity is not used in our current implementation.



More information about the Libstdc++ mailing list