We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, maybe fabric.contrib.files.contains() within fabric/contrib/files.py should allow case insensitive match.
Since contains() uses egrep, where should be a way to pass it a "-i". Maybe a case_insensitive defaulting to false can be added:
fabric.contrib.files.contains(filename, text, exact=False, use_sudo=False, escape=True, shell=False, case_insensitive=False)
The text was updated successfully, but these errors were encountered:
Feature fabric#1203. Adds keyword argument to contrib.files.contains(…
b204eb3
…) to specify case sensitivity.
Feature fabric#1203: Case-insensitive matching for contrib.files.cont…
e07721a
…ains()
Rolling into #1240
Sorry, something went wrong.
No branches or pull requests
Hi,
maybe fabric.contrib.files.contains() within fabric/contrib/files.py should allow case insensitive match.
Since contains() uses egrep, where should be a way to pass it a "-i".
Maybe a case_insensitive defaulting to false can be added:
fabric.contrib.files.contains(filename, text, exact=False, use_sudo=False, escape=True, shell=False, case_insensitive=False)
The text was updated successfully, but these errors were encountered: