Fix: URL 정규식 수정 - URL 인코딩된 값 포함

This commit is contained in:
Gyubin-Han
2025-06-30 18:30:18 +09:00
parent b25cc01a69
commit 829c2ec2d6

View File

@@ -1,5 +1,5 @@
<script> <script>
const VALIDATE_URL="^((http|https):\\/\\/)?([a-z0-9-]{2,}\\.[a-z]{2,}|([0-9]{1,3}\\.){3}[0-9]{1,3})[\\w.\\/가-힣\\-\\ ?=&:]*"; const VALIDATE_URL="^((http|https):\\/\\/)?([a-z0-9-]{2,}\\.[a-z]{2,}|([0-9]{1,3}\\.){3}[0-9]{1,3})[\\w.\\/가-힣\\-\\ ?=&:%0-9A-Fa-f]*";
// DOM 객체(요소) 체이닝 생성 클래스 // DOM 객체(요소) 체이닝 생성 클래스
class Element{ class Element{