소스 검색

default pattern: added comma as separator

Fabian Peter Hammerle 5 년 전
부모
커밋
31f432f62d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      index.html

+ 1 - 1
index.html

@@ -29,7 +29,7 @@ function copy() {
 </script>
 
 <form onsubmit="return substitute()">
-    <p>pattern <input id="pattern" value="\.\s+"></p>
+    <p>pattern <input id="pattern" value="[\.,]\s+"></p>
     <p>text <input id="text"></p>
     <p>prefix <input id="prefix" value="<ul><li>"></p>
     <p>repl <input id="repl" value="</li><li>"></p>