This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]