public static boolean isPhone(String phone) {
        return isMatch("(\\+\\d+)?(\\d{3,4}\\-?)?\\d{7,8}$", phone);
    }
@Test
    public void testPhone() {
        Assert.assertEquals(true, PatternKit.isPhone("033-88888888"));
        Assert.assertEquals(true, PatternKit.isPhone("033-7777777"));
        Assert.assertEquals(true, PatternKit.isPhone("0444-88888888"));
        Assert.assertEquals(true, PatternKit.isPhone("0444-7777777"));
        Assert.assertEquals(true, PatternKit.isPhone("04447777777"));

        Assert.assertEquals(false, PatternKit.isPhone("133 88888888"));
        Assert.assertEquals(false, PatternKit.isPhone("033-666666"));
        Assert.assertEquals(false, PatternKit.isPhone("0444-999999999"));
    }