##// END OF EJS Templates
revset: note case-sensitive match in grep
Martin Geisler -
r14355:8fdc9dd8 stable
parent child Browse files
Show More
@@ -381,7 +381,8 b' def keyword(repo, subset, x):'
381 def grep(repo, subset, x):
381 def grep(repo, subset, x):
382 """``grep(regex)``
382 """``grep(regex)``
383 Like ``keyword(string)`` but accepts a regex. Use ``grep(r'...')``
383 Like ``keyword(string)`` but accepts a regex. Use ``grep(r'...')``
384 to ensure special escape characters are handled correctly.
384 to ensure special escape characters are handled correctly. Unlike
385 ``keyword(string)``, the match is case-sensitive.
385 """
386 """
386 try:
387 try:
387 # i18n: "grep" is a keyword
388 # i18n: "grep" is a keyword
General Comments 0
You need to be logged in to leave comments. Login now