Skip to content
New issue

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

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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