Oracle JDK Telephone test

Sokcuri 2016-11-19 15:10:52

properties

* regex (0[0-9]{2})-([0-9]{3,4})-([0-9]{3,4})
CANON_EQ
CASE_INSENSITIVE
COMMENTS
DOTALL
LITERAL
MULTILINE
UNICODE_CASE
UNIX_LINES
UNICODE_CHARACTER_CLASS

input

1
2
3
4
5
6
7
8
9
10
11
12
13
14
053-5012-3961
02-5031-5113
010-4321-9876
02-341-2315
010-1233-4561
045-3012-2301
031-3215-XXXX
000-0000-00000
015-0230-0326
010-2301-5923
011-111-11a
032-1032-5920

output

1
2
3
4
5
6
7
8
9
10
11
12
13
14
Matched
UnMatched
Matched
UnMatched
Matched
Matched
UnMatched
UnMatched
Matched
Matched
UnMatched
Matched
UnMatched
UnMatched

comments