mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-29 07:18:08 +09:00
allow acute accent
This commit is contained in:
parent
818bdcbd18
commit
4fc833c84c
@ -355,9 +355,18 @@ const age = $computed(() => {
|
||||
const timeForThem = $computed(() => {
|
||||
const maybeCityNames = [
|
||||
props.user.location!,
|
||||
props.user.location!.replace(/[^A-Za-z].*/, ""),
|
||||
props.user.location!.replace(/[^A-Za-z\-\'\.].*/, ""),
|
||||
props.user.location!.replace(/[^A-Za-z0-9\-\'\.\s].*/, ""),
|
||||
props.user.location!.replace(
|
||||
/[^A-Za-zÁĆÉǴÍḰĹḾŃÓṔŔŚÚÝŹáćéǵíḱĺḿńóṕŕśúýź].*/,
|
||||
""
|
||||
),
|
||||
props.user.location!.replace(
|
||||
/[^A-Za-zÁĆÉǴÍḰĹḾŃÓṔŔŚÚÝŹáćéǵíḱĺḿńóṕŕśúýź\-\'\.].*/,
|
||||
""
|
||||
),
|
||||
props.user.location!.replace(
|
||||
/[^A-Za-z0-9ÁĆÉǴÍḰĹḾŃÓṔŔŚÚÝŹáćéǵíḱĺḿńóṕŕśúýź\-\'\.\s].*/,
|
||||
""
|
||||
),
|
||||
];
|
||||
|
||||
for (const city of maybeCityNames) {
|
||||
|
Loading…
Reference in New Issue
Block a user