diff --git a/packages/core/ui/text-base/index.android.ts b/packages/core/ui/text-base/index.android.ts index 5f2fc853e..a451804b4 100644 --- a/packages/core/ui/text-base/index.android.ts +++ b/packages/core/ui/text-base/index.android.ts @@ -505,7 +505,7 @@ export class TextBase extends TextBaseCommon { function getCapitalizedString(str: string): string { let newString = str.toLowerCase(); - newString = newString.replace(/(?:^|\s|[-"'([{])+\S/g, (c) => c.toUpperCase()); + newString = newString.replace(/(?:^|\s'*|[-"([{])+\S/g, (c) => c.toUpperCase()); return newString; }