Skip to content

Comments

@bem/sdk.naming.cell.match: Некорректно обрабатывает файлы с react неймингом#386

Open
yarastqt wants to merge 2 commits intomasterfrom
yarastqt.issue-385
Open

@bem/sdk.naming.cell.match: Некорректно обрабатывает файлы с react неймингом#386
yarastqt wants to merge 2 commits intomasterfrom
yarastqt.issue-385

Conversation

@yarastqt
Copy link
Member

@yarastqt yarastqt commented Mar 14, 2019

Resolve #385

Status: WIP

function buildRegex(delims, wordPattern) {
const block = '(' + wordPattern + ')';
function buildRegex(delims, wordPattern, blockPattern) {
const block = '(' + blockPattern + ')';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zxqfox Нашел место где ломалось, при создании регулярки на вход подается один и тот же шаблон, далее мы парсим строку bb-ee и нам выдает, что это блок, а не элемент, надо придумать, как лучше тут сделать.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant