Skip to content

Commit

Permalink
clarify \. in regex
Browse files Browse the repository at this point in the history
  • Loading branch information
lrytz committed Nov 27, 2020
1 parent 21b91ca commit 0d2e71e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/2020-12-01-configuring-and-suppressing-warnings.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ The actions explained above are always applied to a set of warnings selected by
* `any` matches every message.
* `cat=deprecation` filters according to the message category, for example deprecations (details below).
* `msg=regex` applies if some part of the message matches the regex.
* `site=my\.package\.*` filters on the site where the warning is triggered. The regex must match the entity's full name (`package.Class.method`).
* `site=my\.package\..*` filters on the site where the warning is triggered. The regex must match the entity's full name (`package.Class.method`). Note that `.` in a regex matches any character while `\.` matches a single period.
* `src=src_managed/.*` filters warnings issued in a source file (details below).
* Deprecation warnings can be filtered on two additional criteria:
* `origin=external\.package\..*` filters on full name of the deprecated entity.
Expand Down

0 comments on commit 0d2e71e

Please sign in to comment.