Ulf Dittmer - 2004-01-06

Logged In: YES
user_id=908396

I think you misunderstand what Pattern.startsWith does. It
matches the target against the prefix of the pattern. "\d\d"
has a prefix that matches "1", namely "\d". "\d{2}" has no
prefix that could be separated from the rest. In this
particular regard, the two patterns are NOT equivalent. I'll
grant that this functionality is a bit confusing; I wouldn't
think that it's commonly used.