|
281 | 281 |
|
282 | 282 | <span>IT</span></a> |
283 | 283 |
|
| 284 | + <a class="mdl-navigation__link " |
| 285 | + href="JP.html"> |
| 286 | + |
| 287 | + <span class="mdl-color-text--blue-grey-400 material-icons" |
| 288 | + style="font-family:'Roboto', 'Helvetica', sans-serif;"> |
| 289 | + 🇯🇵</span> |
| 290 | + |
| 291 | + <span>JP</span></a> |
| 292 | + |
284 | 293 | <a class="mdl-navigation__link " |
285 | 294 | href="MX.html"> |
286 | 295 |
|
@@ -758,11 +767,50 @@ <h2 class="mdl-card__title-text">Overview of concepts</h2> |
758 | 767 |
|
759 | 768 |
|
760 | 769 |
|
| 770 | + </div> |
| 771 | + |
| 772 | + |
| 773 | + |
| 774 | + <div class="concept-content"> |
| 775 | + |
| 776 | + |
| 777 | +<div class="concept"> |
| 778 | + <div class="concept-id"> |
| 779 | + |
| 780 | + |
| 781 | + <a href="#postal-code-prefix">postal-code-prefix</a> |
| 782 | + - Postal code prefix |
| 783 | + |
| 784 | + |
| 785 | + |
| 786 | + |
| 787 | + </div> |
| 788 | + |
| 789 | +</div> |
| 790 | + |
| 791 | + |
| 792 | + |
| 793 | +<div class="concept"> |
| 794 | + <div class="concept-id"> |
| 795 | + |
| 796 | + |
| 797 | + <a href="#postal-code-suffix">postal-code-suffix</a> |
| 798 | + - Postal code suffix |
| 799 | + |
| 800 | + |
| 801 | + |
| 802 | + |
761 | 803 | </div> |
762 | 804 |
|
763 | 805 | </div> |
764 | 806 |
|
765 | 807 |
|
| 808 | + </div> |
| 809 | + |
| 810 | + |
| 811 | +</div> |
| 812 | + |
| 813 | + |
766 | 814 |
|
767 | 815 | <div class="concept"> |
768 | 816 | <div class="concept-id"> |
@@ -1368,6 +1416,10 @@ <h2 class="mdl-card__title-text">Example addresses</h2> |
1368 | 1416 |
|
1369 | 1417 |
|
1370 | 1418 |
|
| 1419 | + |
| 1420 | + |
| 1421 | + |
| 1422 | + |
1371 | 1423 |
|
1372 | 1424 |
|
1373 | 1425 |
|
@@ -1485,6 +1537,10 @@ <h2 class="mdl-card__title-text">Example addresses</h2> |
1485 | 1537 |
|
1486 | 1538 |
|
1487 | 1539 |
|
| 1540 | + |
| 1541 | + |
| 1542 | + |
| 1543 | + |
1488 | 1544 | <tr> |
1489 | 1545 | <td>country</td><td><pre style="margin:0">AU</pre></td> |
1490 | 1546 | </tr> |
@@ -1549,9 +1605,27 @@ <h2 class="mdl-card__title-text">Example addresses</h2> |
1549 | 1605 | Output for "address":<br> |
1550 | 1606 | <pre class="formatting_example_textbox">Apt. 19 Level 7 345 Main Street |
1551 | 1607 | SYDNEY NSW 2000 |
1552 | | -AUSTRALIA</pre> |
| 1608 | +AU</pre> |
1553 | 1609 |
|
1554 | 1610 |
|
| 1611 | + <p class="formatting_errors"> |
| 1612 | + Expected: |
| 1613 | + <pre class="formatting_example_textbox formatting_errors">Apt. 19 Level 7 345 Main Street |
| 1614 | +SYDNEY NSW 2000 |
| 1615 | +AUSTRALIA |
| 1616 | +</pre> |
| 1617 | + </p> |
| 1618 | + <p class="formatting_errors"> |
| 1619 | + Delta: |
| 1620 | + <pre class="formatting_example_textbox formatting_errors">--- expected_output |
| 1621 | ++++ actual_output |
| 1622 | +@@ -1,3 +1,3 @@ |
| 1623 | + Apt. 19 Level 7 345 Main Street |
| 1624 | + SYDNEY NSW 2000 |
| 1625 | +-AUSTRALIA |
| 1626 | ++AU</pre> |
| 1627 | + </p> |
| 1628 | + |
1555 | 1629 |
|
1556 | 1630 | </td> |
1557 | 1631 | </tr> |
@@ -3544,13 +3618,13 @@ <h4>Children:</h4> |
3544 | 3618 | <h4>Formatting:</h4> |
3545 | 3619 | <div> |
3546 | 3620 | <span class="formatting_token">address</span> = |
3547 | | -<span class="formatting_token">street-address-alternative-1</span><span class="formatting_token_separator">⏎</span><span class="formatting_token">locality1</span><span class="formatting_token_separator">␣</span><span class="formatting_token">admin-area1</span><span class="formatting_token_separator">␣</span><span class="formatting_token">postal-code</span><span class="formatting_token_separator">⏎</span><span class="formatting_token">country-name</span> |
| 3621 | +<span class="formatting_token">street-address-alternative-1</span><span class="formatting_token_separator">⏎</span><span class="formatting_token">locality1</span><span class="formatting_token_separator">␣</span><span class="formatting_token">admin-area1</span><span class="formatting_token_separator">␣</span><span class="formatting_token">postal-code</span><span class="formatting_token_separator">⏎</span><span class="formatting_token">country</span> |
3548 | 3622 | </div> |
3549 | 3623 |
|
3550 | 3624 | <h5>Flattened formatting:</h5> |
3551 | 3625 | <div> |
3552 | 3626 | <span class="formatting_token">address</span> =<br> |
3553 | | -<span class="formatting_token">unit-type</span><span class="formatting_token">unit-name</span><span class="formatting_token_separator">␣</span><span class="formatting_token_prefix">Level </span><span class="formatting_token">floor</span><span class="formatting_token_separator">␣␣</span><span class="formatting_token">building</span><span class="formatting_token_separator">␣</span><span class="formatting_token">street</span><span class="formatting_token_separator"><br></span><span class="formatting_token">locality1</span><span class="formatting_token_separator">␣</span><span class="formatting_token">admin-area1</span><span class="formatting_token_separator">␣</span><span class="formatting_token">postal-code</span><span class="formatting_token_separator"><br></span><span class="formatting_token">country-name</span> |
| 3627 | +<span class="formatting_token">unit-type</span><span class="formatting_token">unit-name</span><span class="formatting_token_separator">␣</span><span class="formatting_token_prefix">Level </span><span class="formatting_token">floor</span><span class="formatting_token_separator">␣␣</span><span class="formatting_token">building</span><span class="formatting_token_separator">␣</span><span class="formatting_token">street</span><span class="formatting_token_separator"><br></span><span class="formatting_token">locality1</span><span class="formatting_token_separator">␣</span><span class="formatting_token">admin-area1</span><span class="formatting_token_separator">␣</span><span class="formatting_token">postal-code-prefix</span><span class="formatting_token_separator">-</span><span class="formatting_token">postal-code-suffix</span><span class="formatting_token_separator"><br></span><span class="formatting_token">country</span> |
3554 | 3628 | </div> |
3555 | 3629 |
|
3556 | 3630 | </div><h3 id="street-address"> |
@@ -5505,6 +5579,261 @@ <h5>Flattened formatting:</h5> |
5505 | 5579 |
|
5506 | 5580 |
|
5507 | 5581 |
|
| 5582 | + |
| 5583 | + |
| 5584 | + |
| 5585 | + |
| 5586 | + |
| 5587 | + |
| 5588 | + |
| 5589 | +<h4>Parsing:</h4> |
| 5590 | +<div class="parsing"> |
| 5591 | + |
| 5592 | + |
| 5593 | + |
| 5594 | + |
| 5595 | +<details> |
| 5596 | + <summary>Decomposition |
| 5597 | + |
| 5598 | + (<code>ParsePostalCodeMandatorySeparatorExpression</code>) |
| 5599 | + |
| 5600 | + </summary> |
| 5601 | + Anchor beginning: True<br> |
| 5602 | + |
| 5603 | + Capture Reference: ParsePostalCodeMandatorySeparatorExpression<br> |
| 5604 | + |
| 5605 | + |
| 5606 | + |
| 5607 | +<details> |
| 5608 | + <summary> |
| 5609 | + |
| 5610 | + Capture <code>postal-code</code> |
| 5611 | + |
| 5612 | + (MATCH_REQUIRED) |
| 5613 | + </summary> |
| 5614 | + |
| 5615 | + |
| 5616 | + Parts: <br> |
| 5617 | + <ul> |
| 5618 | + |
| 5619 | + <li> |
| 5620 | + |
| 5621 | + |
| 5622 | +<details> |
| 5623 | + <summary> |
| 5624 | + |
| 5625 | + Capture <code>postal-code-prefix</code> |
| 5626 | + |
| 5627 | + (MATCH_REQUIRED) |
| 5628 | + </summary> |
| 5629 | + |
| 5630 | + |
| 5631 | + Parts: <br> |
| 5632 | + <ul> |
| 5633 | + |
| 5634 | + <li> |
| 5635 | + |
| 5636 | + |
| 5637 | + |
| 5638 | +<details> |
| 5639 | + <summary>Regex Reference: <code>kZipPrefixValueRe</code></summary> |
| 5640 | + |
| 5641 | + |
| 5642 | + |
| 5643 | + |
| 5644 | + Regex Reference: <code>kAlphaNumericSequenceRe</code> => |
| 5645 | + <code class="parsing-regexfragment">(?:[^\W_]+)</code> |
| 5646 | + |
| 5647 | + |
| 5648 | + |
| 5649 | + |
| 5650 | +</details> |
| 5651 | + |
| 5652 | + |
| 5653 | + |
| 5654 | +</li> |
| 5655 | + |
| 5656 | + </ul> |
| 5657 | + |
| 5658 | + |
| 5659 | + |
| 5660 | +</details> |
| 5661 | + |
| 5662 | + |
| 5663 | +</li> |
| 5664 | + |
| 5665 | + <li> |
| 5666 | + |
| 5667 | + |
| 5668 | + |
| 5669 | +Separator: Regex Reference <code>kZipCodeSeparatorsRe</code> => |
| 5670 | + <code class="parsing-regexfragment">(?:[\s-]+)</code> |
| 5671 | + |
| 5672 | + |
| 5673 | + |
| 5674 | +</li> |
| 5675 | + |
| 5676 | + <li> |
| 5677 | + |
| 5678 | + |
| 5679 | +<details> |
| 5680 | + <summary> |
| 5681 | + |
| 5682 | + Capture <code>postal-code-suffix</code> |
| 5683 | + |
| 5684 | + (MATCH_OPTIONAL) |
| 5685 | + </summary> |
| 5686 | + |
| 5687 | + |
| 5688 | + Parts: <br> |
| 5689 | + <ul> |
| 5690 | + |
| 5691 | + <li> |
| 5692 | + |
| 5693 | + |
| 5694 | + |
| 5695 | +<details> |
| 5696 | + <summary>Regex Reference: <code>kZipSuffixValueRe</code></summary> |
| 5697 | + |
| 5698 | + |
| 5699 | + |
| 5700 | + |
| 5701 | + Regex Reference: <code>kAlphaNumericSequenceRe</code> => |
| 5702 | + <code class="parsing-regexfragment">(?:[^\W_]+)</code> |
| 5703 | + |
| 5704 | + |
| 5705 | + |
| 5706 | + |
| 5707 | +</details> |
| 5708 | + |
| 5709 | + |
| 5710 | + |
| 5711 | +</li> |
| 5712 | + |
| 5713 | + </ul> |
| 5714 | + |
| 5715 | + |
| 5716 | + |
| 5717 | +</details> |
| 5718 | + |
| 5719 | + |
| 5720 | +</li> |
| 5721 | + |
| 5722 | + </ul> |
| 5723 | + |
| 5724 | + |
| 5725 | + |
| 5726 | +</details> |
| 5727 | + |
| 5728 | + |
| 5729 | + |
| 5730 | + |
| 5731 | + Anchor end: True<br> |
| 5732 | +</details> |
| 5733 | + |
| 5734 | + |
| 5735 | + |
| 5736 | + |
| 5737 | +</div> |
| 5738 | + |
| 5739 | +<div> |
| 5740 | +<h4>Children:</h4> |
| 5741 | +<ul> |
| 5742 | + |
| 5743 | + <li> |
| 5744 | + |
| 5745 | + <a href="#postal-code-prefix">postal-code-prefix</a> |
| 5746 | + </li> |
| 5747 | + |
| 5748 | + <li> |
| 5749 | + |
| 5750 | + <a href="#postal-code-suffix">postal-code-suffix</a> |
| 5751 | + </li> |
| 5752 | + |
| 5753 | +</ul> |
| 5754 | +</div> |
| 5755 | + |
| 5756 | + |
| 5757 | + |
| 5758 | + |
| 5759 | + |
| 5760 | + |
| 5761 | + |
| 5762 | +<h4>Formatting:</h4> |
| 5763 | +<div> |
| 5764 | +<span class="formatting_token">postal-code</span> = |
| 5765 | +<span class="formatting_token">postal-code-prefix</span><span class="formatting_token_separator">-</span><span class="formatting_token">postal-code-suffix</span> |
| 5766 | +</div> |
| 5767 | + |
| 5768 | +<h5>Flattened formatting:</h5> |
| 5769 | +<div> |
| 5770 | +<span class="formatting_token">postal-code</span> =<br> |
| 5771 | +<span class="formatting_token">postal-code-prefix</span><span class="formatting_token_separator">-</span><span class="formatting_token">postal-code-suffix</span> |
| 5772 | +</div> |
| 5773 | + |
| 5774 | +</div><h3 id="postal-code-prefix"> |
| 5775 | + <a href="#postal-code-prefix">#</a> |
| 5776 | + |
| 5777 | + postal-code-prefix |
| 5778 | +</h3> |
| 5779 | +<div style="margin-left: 20px;"> |
| 5780 | + |
| 5781 | +Postal code prefix |
| 5782 | + |
| 5783 | + |
| 5784 | + |
| 5785 | + |
| 5786 | + |
| 5787 | + |
| 5788 | + |
| 5789 | + |
| 5790 | + |
| 5791 | + |
| 5792 | + |
| 5793 | + |
| 5794 | + |
| 5795 | + |
| 5796 | + |
| 5797 | + |
| 5798 | + |
| 5799 | + |
| 5800 | + |
| 5801 | + |
| 5802 | + |
| 5803 | + |
| 5804 | + |
| 5805 | + |
| 5806 | + |
| 5807 | + |
| 5808 | + |
| 5809 | +</div><h3 id="postal-code-suffix"> |
| 5810 | + <a href="#postal-code-suffix">#</a> |
| 5811 | + |
| 5812 | + postal-code-suffix |
| 5813 | +</h3> |
| 5814 | +<div style="margin-left: 20px;"> |
| 5815 | + |
| 5816 | +Postal code suffix |
| 5817 | + |
| 5818 | + |
| 5819 | + |
| 5820 | + |
| 5821 | + |
| 5822 | + |
| 5823 | + |
| 5824 | + |
| 5825 | + |
| 5826 | + |
| 5827 | + |
| 5828 | + |
| 5829 | + |
| 5830 | + |
| 5831 | + |
| 5832 | + |
| 5833 | + |
| 5834 | + |
| 5835 | + |
| 5836 | + |
5508 | 5837 |
|
5509 | 5838 |
|
5510 | 5839 |
|
|
0 commit comments