Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1410

Correction to regexp used for zip code validation in Tapestry 5 tutorial

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: documentation
    • Labels:
      None

      Description

      The regexp used for zip code validation in the Tapestry 5 tutorial (http://tapestry.apache.org/using-beaneditform-to-create-user-forms.html) is
      d

      {5}(-
      d{4})?

      It should be ^
      d{5}

      (-
      d

      {4}

      )?$ to get the desired behavior.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              a.m.ingraldi@majestysoftware.com Tony Ingraldi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: