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

1909 / Поддержка многострочных значение при проверке строки на соответствие шаблону #1910

Merged
merged 1 commit into from
Apr 3, 2023

Conversation

alkoleft
Copy link
Contributor

Теперь * включает переносы строк и прочие символы

реализация #1909

В Regexp . не включает \n и некоторые другие символы.

Попробовал замену звездочки на

  • [.\n\s]* - не работает
  • (?s:.*) - есть сомнения будет ли работать под никсами

В итоге остановился на шаблоне [\S\s]*

* включает переносы строк и прочие символы
@VACIBot
Copy link
Collaborator

VACIBot commented Mar 30, 2023

Нужно запустить тесты?

@Pr-Mex
Copy link
Owner

Pr-Mex commented Mar 30, 2023

run tests

2 similar comments
@Pr-Mex
Copy link
Owner

Pr-Mex commented Mar 31, 2023

run tests

@Pr-Mex
Copy link
Owner

Pr-Mex commented Apr 2, 2023

run tests

@Pr-Mex
Copy link
Owner

Pr-Mex commented Apr 3, 2023

Спасибо!

@Pr-Mex Pr-Mex merged commit 7ed910c into Pr-Mex:develop Apr 3, 2023
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.

3 participants