So, some way or another (playing around), I found myself with a regex like \\d{1}{2}.
\\d{1}{2}
Logically, to me, it should mean:
(A digit exac
At first I was surprised this doesn't throw a PatternSyntaxException.
PatternSyntaxException
I can't base my answer on any facts, so this is just an educated guess:
"\\d{1}" // matches a single digit "\\d{1}{2}" // matches a single digit followed by two empty strings