Skip to content

Commit e00dfc5

Browse files
authored
Merge pull request leo-buneev#18 from leppkjs/bugfix/bug#17
[Bug] leo-buneev#17 [modify] [Bug] can't search for numbers first
2 parents fe8fe6f + 9069d55 commit e00dfc5

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)