Skip to content

Commit

Permalink
Clarify what the regex is applied to.
Browse files Browse the repository at this point in the history
  • Loading branch information
DolceTriade committed Jun 21, 2023
1 parent 350d4bf commit 5fc6c47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,8 @@ The following directives are recognized:
| example, when resolving dependencies for a ``go_proto_library``, |
| ``source-lang`` would be ``"proto"`` and ``import-lang`` would be ``"go"``. |
| ``import-lang`` may be omitted if it is the same as ``source-lang``. |
| * ``import-string-regex`` is the regex used in source code to import a library. |
| * ``import-string-regex`` is the regex applied to the import in the source code. |
| If it matches, that import will be resolved to the label specified below.
| * ``label`` is the Bazel label that Gazelle should write in ``deps``. |
| |
| For example: |
Expand Down

0 comments on commit 5fc6c47

Please sign in to comment.