Skip to content

Commit

Permalink
Merge pull request #89 from jhy0285/weekly
Browse files Browse the repository at this point in the history
#63 Fix: regex 수정
  • Loading branch information
jhy0285 authored Oct 7, 2023
2 parents 88d14bc + ea10c79 commit b10d19d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public List<KakaoSendMeResponseDto> extractLink(MultipartFile multipartFile) {

// https 링크를 추출하기 위한 정규 표현식
String regex = "https?://[a-zA-Z0-9\\-\\.]+(\\:[0-9]+)?\\.[a-zA-Z]{2,3}(\\S*)?";


// \bhttps?://\S+ => 모든 http, https 도메인 검출
Pattern pattern = Pattern.compile(regex);
Expand Down

0 comments on commit b10d19d

Please sign in to comment.