filter plugin for tags was not working as expected. Regex expression to check for white space needed to be changed. by gbone24 · Pull Request #256 · openannotation/annotator

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@gbone24

Copy link

Contributor

@gbone24 gbone24 commented

Aug 19, 2013

input.split /\s*/ was not producing the desired result. It was taking the filter input for tags and looking for each letter instead of the word. changing regex to /\s+/ seemed to fix things.

…d to \s+ which does a better job at dealing with whitespace between tags.

@nickstenning

Copy link

Member

That's clearly correct =). Thanks!

nickstenning added a commit that referenced this pull request

Aug 20, 2013
filter plugin for tags was not working as expected.  Regex expression to check for white space needed to be changed.

@nickstenning nickstenning merged commit 48fe939 into openannotation:master

Aug 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@gbone24 @nickstenning