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

docs question. #31

Closed
maca opened this issue Apr 4, 2014 · 2 comments
Closed

docs question. #31

maca opened this issue Apr 4, 2014 · 2 comments

Comments

@maca
Copy link

maca commented Apr 4, 2014

Reading through Known Limitations... section in the docs, there is a part that talks about case sensitive substitutions using gsub.
I may have not understood correctly what you meant gsub is case sensitive. gsub doesn't care about case sensitivity unless you pass a string, otherwise when passing a regexp it depends on the /i flag determining case insensitivity...

@gingermusketeer
Copy link
Contributor

I think what the docs were trying to say was that if you are using a regex then the performance is not going to be very good. If you want to do case insensitive replacements which are more performant using a different strategy amoeba does not support it.

Does that make sense?

@gingermusketeer
Copy link
Contributor

Closing due to no response. Please reopen if this is still an issue

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

No branches or pull requests

3 participants