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 regular expression support #14

Merged
merged 3 commits into from
Jan 15, 2014
Merged

add regular expression support #14

merged 3 commits into from
Jan 15, 2014

Conversation

dfguo
Copy link
Contributor

@dfguo dfguo commented Jan 9, 2014

  • allow stripping off characters defined in options[:regex]
  • add test
  • readme update

- allow stripping off characters defined in options[:regex]
- add test
- add regex example
- remove unused test case
@rmm5t
Copy link
Owner

rmm5t commented Jan 9, 2014

Thanks for this elegant implementation. Others have suggested something similar to this, but I like this approach well enough to expand the feature-set of strip_attributes.

If you could add another commit to address my requested changes to the readme, I'll get this pulled in and schedule a new release after I play around with it a bit.

👍

@dfguo
Copy link
Contributor Author

dfguo commented Jan 15, 2014

Sorry for the delay. Added the examples. :)

rmm5t added a commit that referenced this pull request Jan 15, 2014
add regular expression support
@rmm5t rmm5t merged commit 962cef4 into rmm5t:master Jan 15, 2014
@rmm5t
Copy link
Owner

rmm5t commented Jan 15, 2014

Thanks @dfguo! I'm going to wait until progress of #15 goes before releasing a new version of the gem.

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.

2 participants