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

[feature] Util.is.RegExp + Util.from.String() -> RegExp + RegExp -> Util.to.String() #14

Open
cusspvz opened this issue Sep 25, 2014 · 3 comments
Milestone

Comments

@cusspvz
Copy link
Member

cusspvz commented Sep 25, 2014

multiple features arround RegExp

  • Util.is.RegExp / Util.isnt.RegExp
  • Util.from.String() -> RegExp
  • RegExp -> Util.to.String()
@cusspvz
Copy link
Member Author

cusspvz commented Sep 25, 2014

Code useful for Util.from.String():

var match = inputstring.match(new RegExp('^/(.*?)/([gimy]*)$'));
// sanity check here
var regex = new RegExp(match[1], match[2]);

@cusspvz
Copy link
Member Author

cusspvz commented Oct 4, 2014

#16 will be an advance into this

@cusspvz
Copy link
Member Author

cusspvz commented Oct 4, 2014

This also needs #17

@cusspvz cusspvz modified the milestone: 0.3.0 Oct 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant