allow acute accent
This commit is contained in:
parent
afa8f06ef6
commit
4d0245f1a5
|
@ -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