0.0.0.0 을 뽑아내고 싶어서 



assertThat(session.getClientIp()).containsPattern("[0-9].[0-9].[0-9].[0-9]");


했는데 일단 assert는 패스하지만 내가 원하는 패턴만 뽑히지 않는다. ㅠㅠㅠ



([0-9]{1,3}).([0-9]{1,3}).([0-9]{1,3}).([0-9]{1,3}).


으로도 중복해서 걸리고 있음...ㅠ

Posted by 썬,더 호글
,