@@ -499,21 +499,45 @@ references use the following subset of
499
499
syntax, but they are designed to not require a Javascript engine for evaluation.
500
500
501
501
In the following [ BNF grammar] ( https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_Form ) ,
502
- character classes and grammar rules are denoted in '{}', '-' denotes
503
- exclusion from a character class, ' (())' denotes grouping, '|' denotes
504
- alternates, trailing ' * ' denotes zero or more repeats, '+' denote one
502
+ character classes and grammar rules are denoted in ` {} ` , ` - ` denotes
503
+ exclusion from a character class, ` (()) ` denotes grouping, ` | ` denotes
504
+ alternates, trailing ` * ` denotes zero or more repeats, ` + ` denotes one
505
505
or more repeats, and all other characters are literal values.
506
506
507
- <p >
507
+ <div >
508
508
<table class =" table " >
509
- <tr ><td >symbol:: </td ><td >{Unicode alphanumeric}+</td ></tr >
510
- <tr ><td >singleq:: </td ><td >[' (( {character - { | \ ' \} } ))* ']</td ></tr >
511
- <tr ><td >doubleq:: </td ><td >[" (( {character - { | \ " \} } ))* "]</td ></tr >
512
- <tr ><td >index:: </td ><td >[ {decimal digit}+ ]</td ></tr >
513
- <tr ><td >segment:: </td ><td >. {symbol} | {singleq} | {doubleq} | {index}</td ></tr >
514
- <tr ><td >parameter reference::</td ><td >$( {symbol} {segment}*)</td ></tr >
509
+ <tr >
510
+ <td><code>symbol</code></td>
511
+ <td><code>::=</code></td>
512
+ <td><code>{Unicode alphanumeric}+</code></td>
513
+ </tr >
514
+ <tr >
515
+ <td><code>singleq</code></td>
516
+ <td><code>::=</code></td>
517
+ <td><code>[' (( {character - { | \ ' \} } ))* ']</code></td>
518
+ </tr >
519
+ <tr >
520
+ <td><code>doubleq</code></td>
521
+ <td><code>::=</code></td>
522
+ <td><code>[" (( {character - { | \ " \} } ))* "]</code></td>
523
+ </tr >
524
+ <tr >
525
+ <td><code>index</code></td>
526
+ <td><code>::=</code></td>
527
+ <td><code>[ {decimal digit}+ ]</code></td>
528
+ </tr >
529
+ <tr >
530
+ <td><code>segment</code></td>
531
+ <td><code>::=</code></td>
532
+ <td><code>. {symbol} | {singleq} | {doubleq} | {index}</code></td>
533
+ </tr >
534
+ <tr >
535
+ <td><code>parameter reference</code></td>
536
+ <td><code>::=</code></td>
537
+ <td><code>( {symbol} {segment}*)</code></td>
538
+ </tr >
515
539
</table >
516
- </p >
540
+ </div >
517
541
518
542
Use the following algorithm to resolve a parameter reference:
519
543
0 commit comments