Add review bot tool for regex
Review Request #9594 — Created Feb. 6, 2018 and discarded — Latest diff uploaded
Sometimes there are some things that are not allowed in source code. It is the simplest way to just match those strings by a regular expression. Like a forbidden or deprecated include in C++ or just a simple TODO in a comment.
Configured two lines with regex.
Added a file with matching strings and saw that
both regex are found.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 8. See what's changed.
orig
1
2
3
4
5
6
7
8
bot/setup.py |
---|
bot/reviewbot/tools/regex.py |
---|
docs/reviewbot/tools/index.rst |
---|
docs/reviewbot/tools/regex.rst |
---|