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

[suggestion] .span() #12

Open
SzasznikaJanos opened this issue Jul 19, 2018 · 2 comments
Open

[suggestion] .span() #12

SzasznikaJanos opened this issue Jul 19, 2018 · 2 comments
Labels

Comments

@SzasznikaJanos
Copy link
Contributor

SzasznikaJanos commented Jul 19, 2018

Suggestion add span from index

For example there Text to search is "Hello world, Hello world"
Key word "Hello"

.span(...,fromSecondResult)
To apply span only to second occurrence and not all in text occurrence

@SzasznikaJanos
Copy link
Contributor Author

SzasznikaJanos commented Jul 19, 2018

It you want i can make it and send a pull request

@neworld
Copy link
Owner

neworld commented Jul 19, 2018

Yes, sure. There are few requirements:

  • the source should be compatible with java. You might use overloading
  • same logic should be applied to replace for consistency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants