We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e8fd34 commit 8c6039eCopy full SHA for 8c6039e
transform.js
@@ -4,7 +4,7 @@ function run(argv) {
4
const input = argv[0];
5
6
const WORD = /[a-zA-Z0-9а-яёєґїА-ЯЁЄҐЇ]+/g;
7
- const ARGUMENT = /(?:'([^'"]*)'|"([^'"]*)")/g;
+ const ARGUMENT = /(?:'([^']*)'|"([^"]*)")/g;
8
const COMMAND_SEPARATOR = ' /';
9
const CYRILLIC_TO_LATIN_MAP = {
10
а: 'a',
@@ -84,7 +84,7 @@ function run(argv) {
84
let items = [];
85
86
const transliterate = (string = '') => {
87
- return string.replace(/[а-яёА-ЯЁ]/g, (match) => CYRILLIC_TO_LATIN_MAP[match] || match);
+ return string.replace(/[а-яёєґїА-ЯЁЄҐЇ]/g, (match) => CYRILLIC_TO_LATIN_MAP[match] || match);
88
};
89
90
const toPascalCase = (string = '') => {
0 commit comments