mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
allow acute accent
This commit is contained in:
parent
818bdcbd18
commit
4fc833c84c
1 changed files with 12 additions and 3 deletions
|
@ -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 a new issue