From 77ac52c180e6d07a45df135bfb0a2c7528d1c88f Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 11 Jan 2016 17:28:16 -0800 Subject: [PATCH] Update Phabricator documentation of script-and-regex linter for behavioral change Summary: Ref T10124. Corresponding doc update. Test Plan: COPY / PASTE Reviewers: chad Reviewed By: chad Maniphest Tasks: T10124 Differential Revision: https://secure.phabricator.com/D15001 --- src/docs/user/userguide/arcanist_lint_script_and_regex.diviner | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/docs/user/userguide/arcanist_lint_script_and_regex.diviner b/src/docs/user/userguide/arcanist_lint_script_and_regex.diviner index fde32b7773..dc8308b683 100644 --- a/src/docs/user/userguide/arcanist_lint_script_and_regex.diviner +++ b/src/docs/user/userguide/arcanist_lint_script_and_regex.diviner @@ -109,7 +109,8 @@ The regex should capture these named patterns with `(?P...)`: not specified, defaults to the linted file. It is generally not necessary to capture this unless the linter can raise messages in files other than the one it is linting. - - `line` (optional) The line number of the message. + - `line` (optional) The line number of the message. If no text is + captured, the message is assumed to affect the entire file. - `char` (optional) The character offset of the message. - `offset` (optional) The byte offset of the message. If captured, this supersedes `line` and `char`. -- 2.51.2