We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi all!
I need to register my own custom pattern for "*" character, but as I know this character is using as a special character:
Also I not found option to disable using this character in your docs.
My code:
private readonly allPrintableSymbols: RegExp = new RegExp(`[\u0020-\u007e\u00a0-\u00ff]`); public customPatterns: IConfig['patterns'] = { '#': { pattern: this.numberPattern }, '0': { pattern: this.numberPattern }, '9': { pattern: this.numberPattern }, '@': { pattern: this.lettersPattern }, ['A']: { pattern: this.lettersPattern }, ['S']: { pattern: this.lettersPattern }, ['!']: { pattern: this.punctuationPattern }, ['*']: { pattern: this.allPrintableSymbols }, }; public readonly specialCharacters = ['-', ' ', '.', ',', '/', '(', ')', ':', '+', '[', ']'];
Can I have any solutions to register my own pattern for "*"?
The text was updated successfully, but these errors were encountered:
@maxhorobets Thanks for your using Ngx-Mask. Please update to latest version. It example, all work as expected - https://stackblitz.com/edit/angular-dn6ajx?file=src%2Fmain.ts
Sorry, something went wrong.
No branches or pull requests
🚀 feature request
Description
Hi all!
I need to register my own custom pattern for "*" character, but as I know this character is using as a special character:
Also I not found option to disable using this character in your docs.
My code:
Can I have any solutions to register my own pattern for "*"?
The text was updated successfully, but these errors were encountered: