Regular expression input size
I've run into an odd behavior in both NSRegularExpression and RegExKitLite when trying to match a regular expression to the end of the input string. Both truncate the match before reaching the end of the file.
Reg ex: sometext([^\\Z]+)
The file is about 90k. I'm guess that a compile-time size limit is being hit (either cache size or other). I'm not sure, but stands to assume that NSRegularExpression uses libicucore underneath which would account for both APIs truncating at the same location.
Can anyone comment on this?
|