The extremely simple regular expression "^\w{0,5}$" will compile but instead of matching "", "aaa" and not "aaaaaa" it doesn't match "" and matches "aaaaaa" instead. This is a problem that only occurs when the lower boundary is zero. In this case both boundaries are increased by 1. This is totally different from what any regular expression package I know does. Robert
*** This bug has been marked as a duplicate of 1030 ***
Fixed by Bug #19329