Skip to content

Commit 9069d55

Browse files
author
김재섭B
committed
[Bug] leo-buneev#17 [modify] [Bug] can't search for numbers first
1 parent fe8fe6f commit 9069d55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/SearchBox.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default {
5959
const result = this.query
6060
.trim()
6161
.toLowerCase()
62-
.split(/[^\p{L}]+/iu)
62+
.split(/[^\p{L}\p{N}_]+/iu)
6363
.filter(t => t)
6464
return result
6565
},

0 commit comments

Comments
 (0)