tre icon indicating copy to clipboard operation
tre copied to clipboard

Found a simple expression that fails on OSX, in the latest TRE, but passes in ICU on OSX

Open dhoerl opened this issue 11 years ago • 0 comments

This expression succeeds when it should fail:

ret = tre_regcomp(&trx, "^(?:(?:(?:(?:(?:[0-9]){1,4}):){0,4})(?:(?:[0-9]){1,4}))?::$", REG_EXTENDED | REG_NOSUB);
test = "1:2:3:4:5:6::";
ret = tre_regexec(&trx, test, 0, NULL, 0);

dhoerl avatar Jul 03 '13 23:07 dhoerl