【发布时间】:2010-11-19 13:24:08
【问题描述】:
我正在使用基于 Mac OS X 和 iPhone OS 附带的 ICU 库构建的精彩 RegexKitLite 框架。到目前为止一直一帆风顺,除了在搜索匹配项时间歇性出现的这个错误:
Internal Error
Invalid parameter not satisfying:
(cacheSlot->setToHash == buffer->hash) && (cacheSlot->setToLength == buffer->length) && (cacheSlot->setToUniChar == buffer->uniChar)
知道是什么原因造成的吗?
【问题讨论】:
-
您使用的字符串类型有什么特别之处吗?您是否有可能尝试在多个线程中执行相同的操作?
-
这听起来像是 RegexKitLite 问题,与每个 regex 无关。在专门介绍 RegexKitLite 的网站上,您可能会遇到更好的运气。
标签: objective-c regex assertions intermittent regexkitlite