Skip to content

Commit

Permalink
先頭判定を入れた
Browse files Browse the repository at this point in the history
  • Loading branch information
penginn-net authored Jun 20, 2024
1 parent b714985 commit b133f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/search.user.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const key = ref(0);
const searchQuery = ref('');
const searchOrigin = ref('combined');
const userPagination = ref();
const isApUserName = RegExp('@[a-zA-Z0-9_.]+@[a-zA-Z0-9-_.]+[a-zA-Z]$');
const isApUserName = RegExp('^@[a-zA-Z0-9_.]+@[a-zA-Z0-9-_.]+[a-zA-Z]$');

async function search() {
const query = searchQuery.value.toString().trim();
Expand Down

0 comments on commit b133f7b

Please sign in to comment.