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

Add support to regular expressions using a global parameter. #61

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

Conversation

bram-ontoforce
Copy link

This PR adds support to regular expressions using a global parameter e.g.

<Highlight search=/brown|jumps/g">The quick brown fox jumps over the lazy dog</Highlight>

will both highlight 'brown' and 'jumps'. This handles issue #60.

@yeou
Copy link

yeou commented Oct 11, 2018

@helior Any news on this PR?

@mihaiserban
Copy link

can this branch be merged? support for multiple highlights using regex would be great to have.

@mihaiblaga89
Copy link

I'm wondering why this PR adds request as a dependency.

@bram-ontoforce
Copy link
Author

I'm wondering why this PR adds request as a dependency.

I added request to the devDependencies to make the tests run. I saw that another PR was opened proposing this change (#58) so I'll remove the package from this branch.

This reverts commit b61b83f.
@kevinmacek
Copy link

This would be great to have.

@danperrout
Copy link

This would be great to have.

Indeed!

@ahong1
Copy link

ahong1 commented Nov 5, 2019

@helior please merge this in. This is a great addition!

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.

7 participants