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

Задокументировать * #174

Open
bzaar opened this issue Oct 6, 2021 · 2 comments
Open

Задокументировать * #174

bzaar opened this issue Oct 6, 2021 · 2 comments

Comments

@bzaar
Copy link
Contributor

bzaar commented Oct 6, 2021

случайно обнаружил, что при поиске можно использовать звёздочку (возможно, что-нибудь ещё?), что очень хорошо, но, может быть, стоит упомянуть об этом где-нибудь.

@shenyileirob
Copy link

But the asterisk doesn't work properly unless at the beginning of the search string, I suppose? For example, a search of к*т matches кто but not кот, which is quite strange (assuming an extra asterisk implied at the end of the search string).

@bzaar
Copy link
Contributor Author

bzaar commented Jan 3, 2023

@shenyileirob That's right, the asterisk is only useful at the beginning, e.g. *ировать which makes it match the end of the string. It is implied at the end, i.e. при is the same as при*. I have no idea what it does when the asterisk is in the middle. We should probably make it do the expected thing, i.e. match any sequence of letters.

Note that having an asterisk at the beginning also changes the alignment of the results (to the right), assuming you want to compare the endings. What should the alignment be when the asterisk is in the middle?

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

No branches or pull requests

2 participants