|
44 | 44 | <!ENTITY v.opt "<option>-v</option>"> |
45 | 45 | <!ENTITY w.opt "<option>-w</option>"> |
46 | 46 | <!ENTITY X.opt "<option>-X</option>"> |
| 47 | + <!ENTITY x.opt "<option>-x</option>"> |
47 | 48 |
|
48 | 49 | <!ENTITY h.opt "<option>-h</option>"> |
49 | 50 | ]> |
|
403 | 404 | <term>&u.opt;</term> |
404 | 405 |
|
405 | 406 | <listitem> |
406 | | - <para>Allow ambiguities. |
407 | | - This means patterns with different ids may match the same text. |
408 | | - The default is to error for conflicts.</para> |
409 | | - |
410 | | - <para>It's possible to have multiple patterns with the same id |
411 | | - (i.e. by being in the same file when using multi-file mode), |
412 | | - and these are not considered a conflict because they key |
413 | | - to the same id.</para> |
414 | | - </listitem> |
415 | | - </varlistentry> |
416 | | - |
417 | | - <varlistentry> |
418 | | - <term>&u.opt;</term> |
| 407 | + <para>Allow ambiguities between patterns. |
| 408 | + This means patterns with different ids may match the same text.</para> |
419 | 409 |
|
420 | | - <listitem> |
421 | | - <para>Allow ambiguities between regexps, |
422 | | - such that multiple regexps may match the same text. |
423 | | - The default is to error for ambiguities, |
| 410 | + <para>The default is to error for ambiguities, |
424 | 411 | requiring all regexps unioned to be non-overlapping. |
425 | 412 | Formally, the requirement is that they are disjoint languages. |
426 | 413 | Erroring for ambiguities applies after multiple regexps are joined, |
427 | 414 | either by union or by concatenation (&s.opt;).</para> |
428 | 415 |
|
| 416 | + <para>It's possible to have multiple patterns with the same id |
| 417 | + (i.e. by being in the same file when using multi-file mode), |
| 418 | + and these are not considered a conflict because they key |
| 419 | + to the same id.</para> |
| 420 | + |
429 | 421 | <para>&u.opt; is implied by &n.opt;.</para> |
430 | 422 | </listitem> |
431 | 423 | </varlistentry> |
|
462 | 454 | </listitem> |
463 | 455 | </varlistentry> |
464 | 456 |
|
| 457 | + <varlistentry> |
| 458 | + <term>&x.opt;</term> |
| 459 | + |
| 460 | + <listitem> |
| 461 | + <para>Literals are unanchored. |
| 462 | + This applies to all literals; for finer control use a regex dialect. |
| 463 | + The default is that literals are anchored, |
| 464 | + as if written <code>^abc$</code> in regex syntax.</para> |
| 465 | + </listitem> |
| 466 | + </varlistentry> |
| 467 | + |
465 | 468 | <varlistentry> |
466 | 469 | <term>&h.opt;</term> |
467 | 470 |
|
|
0 commit comments