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

When I need to find just firsts letters of each word #35

Closed

Conversation

Grigory-Volkov
Copy link

Hello!
It will be good upgrade, if you accept this)

Вecause you can do following:
.search('be', {fields: ['title'], firsts: true})
And get result: "Beline", "Cool besness"
Not this one: "Izbergamo"

Thanks :)

@Grigory-Volkov
Copy link
Author

@brianreavis ?

@holic
Copy link
Collaborator

holic commented Feb 24, 2016

Can you add matching tests?

@Wardrop
Copy link
Contributor

Wardrop commented Dec 19, 2017

Came here to suggest the same thing. I've submitted a pull request for a more robust implementation based on word boundaries, rather than whitespace. Includes tests and documentation.

#51

@holic
Copy link
Collaborator

holic commented Dec 19, 2017

Closing in favor of #51

@holic holic closed this Dec 19, 2017
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.

None yet

3 participants