Uploaded image for project: 'Commons Jelly'
  1. Commons Jelly
  2. JELLY-49

Regexp Tag Library

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-5
    • submissions
    • None

    Description

      This tag library wrap's the ORO regexp engine. It provides two tags that can be used as follows:

      <regexp:match
      var="foo"
      text="ID1234"
      expr="[A-Z][A-Z][0-9]

      {4}

      "/>

      <regexp:contains
      var="bar"
      text="Hello World"
      expr="World"/>

      The code is not written by me, but by Christian Amor Kvalheim, so give the cred to him (he was too sloppy to submit this himself).

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            proyal Peter A Royal Jr.
            rinkrank Aslak Hellesoy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment