2
0
mirror of https://github.com/tenrok/maska.git synced 2026-06-11 18:02:27 +03:00

Revert "allow custom escape character"

This reverts commit e078efd695.
This commit is contained in:
Alexander Shabunevich
2023-04-21 14:27:47 +03:00
parent 593c111acb
commit f73c21b5fa
4 changed files with 2 additions and 53 deletions
+1 -2
View File
@@ -46,8 +46,7 @@ const parseTokens = (value: string): MaskTokens => {
pattern: new RegExp(parts[1]),
optional: parts[2] === 'optional',
multiple: parts[2] === 'multiple',
repeated: parts[2] === 'repeated',
escape: parts[2] === 'escape'
repeated: parts[2] === 'repeated'
}
})