Skip to content

Commit

Permalink
Too much documentation for -u.
Browse files Browse the repository at this point in the history
  • Loading branch information
katef committed Oct 23, 2024
1 parent 98dfb2d commit 280ca7c
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions man/rx.1/rx.1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -404,29 +404,20 @@
<term>&u.opt;</term>

<listitem>
<para>Allow ambiguities.
This means patterns with different ids may match the same text.
The default is to error for conflicts.</para>
<para>Allow ambiguities between patterns.
This means patterns with different ids may match the same text.</para>

<para>It's possible to have multiple patterns with the same id
(i.e. by being in the same file when using multi-file mode),
and these are not considered a conflict because they key
to the same id.</para>
</listitem>
</varlistentry>

<varlistentry>
<term>&u.opt;</term>

<listitem>
<para>Allow ambiguities between regexps,
such that multiple regexps may match the same text.
The default is to error for ambiguities,
<para>The default is to error for ambiguities,
requiring all regexps unioned to be non-overlapping.
Formally, the requirement is that they are disjoint languages.
Erroring for ambiguities applies after multiple regexps are joined,
either by union or by concatenation (&s.opt;).</para>

<para>It's possible to have multiple patterns with the same id
(i.e. by being in the same file when using multi-file mode),
and these are not considered a conflict because they key
to the same id.</para>

<para>&u.opt; is implied by &n.opt;.</para>
</listitem>
</varlistentry>
Expand Down

0 comments on commit 280ca7c

Please sign in to comment.