help="Limit the comments output to ones that match all given --grep.")
parser.add_argument("-i", "--regexp-ignore-case", action="store_true",
help="Match the regular expression limiting patterns without regard to letter case.")
+parser.add_argument("-E", "--extended-regexp", action="store_true",
+ help="Use extended regular expressions instead of the default basic regular expressions.")
parser.add_argument("-r", "--read-revs", metavar="FILE",
help="Read revs for previously read comments from FILE (default: $HOME/.gimrr/comment.revs).")
parser.add_argument("-n", "--new-only", action="store_true",
for pattern in args.author:
cmd += ["--author", pattern]
+if args.extended_regexp:
+ cmd += ["--extended-regexp"]
+
rv, out, err = mrlib.run(cmd, stdin=stdin)
c2m = mrlib.comments2mrs(refs, mrs)