Skip to content

Commit

Permalink
Removing 🔑 and adding double quote
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazim-crim committed Nov 30, 2023
1 parent fbe120f commit 9d25376
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,13 @@ multiple choices of matching are possible.
We could match ``seg1/seg2`` with the first token, and ``seg3`` with the second token,
we could also match ``seg1`` with the first token, and ``seg2/seg3`` with the second token, etc.

The :key:`field` : This is useful when we want to have a different mapping between resources. The resource_name
The key ``field`` is useful when we want to have a different mapping between resources. The ``resource_name``
is used by default, but another key from the `Magpie`_ resource schema can be used, if specified by using the
:key:`field`.
key ``field``.

A regular expression :key:`regex` may be used to extract the desired information from the ``nametype_path``.
A regular expression ``regex`` may be used to extract the desired information from the ``nametype_path``.
This will override the default behaviour of matching each segment with another segment and will instead use
what is extracted from the segment and prioritize the longest match. When used in the target, the :key:`regex`
what is extracted from the segment and prioritize the longest match. When used in the target, the ``regex``
extracts each resource in the segment with the same type.

The variables, tokens and regex are useful to know the type of any segments that doesn't have a fixed name.
Expand Down

0 comments on commit 9d25376

Please sign in to comment.