Update heuristics used to determine max state count, following a bug report from SAP.

Updated tests to match.


[SVN r35656]
This commit is contained in:
John Maddock
2006-10-18 12:56:45 +00:00
parent 67128fa65f
commit b057d0f943
3 changed files with 68 additions and 10 deletions

View File

@ -427,9 +427,9 @@ private:
// matching flags in use:
match_flag_type m_match_flags;
// how many states we have examined so far:
difference_type state_count;
boost::uintmax_t state_count;
// max number of states to examine before giving up:
difference_type max_state_count;
boost::uintmax_t max_state_count;
// whether we should ignore case or not:
bool icase;
// set to true when (position == last), indicates that we may have a partial match: