Author: bayard Date: Sat Jan 3 16:36:40 2009 New Revision: 731140 URL: http://svn.apache.org/viewvc?rev=731140&view=rev Log: Migrating to Maven 2
Added: jakarta/taglibs/proper/regexp/trunk/LICENSE.txt - copied unchanged from r731102, jakarta/taglibs/proper/string/trunk/LICENSE.txt jakarta/taglibs/proper/regexp/trunk/NOTICE.txt - copied, changed from r731102, jakarta/taglibs/proper/string/trunk/NOTICE.txt jakarta/taglibs/proper/regexp/trunk/pom.xml (with props) jakarta/taglibs/proper/regexp/trunk/src/assembly/ - copied from r731102, jakarta/taglibs/proper/string/trunk/src/assembly/ jakarta/taglibs/proper/regexp/trunk/src/main/ jakarta/taglibs/proper/regexp/trunk/src/main/resources/ jakarta/taglibs/proper/regexp/trunk/src/main/resources/META-INF/ jakarta/taglibs/proper/regexp/trunk/src/main/resources/META-INF/taglibs-regexp.tld (with props) jakarta/taglibs/proper/regexp/trunk/xdocs/ jakarta/taglibs/proper/regexp/trunk/xdocs/index.xml (with props) Removed: jakarta/taglibs/proper/regexp/trunk/build.xml jakarta/taglibs/proper/regexp/trunk/doc/ jakarta/taglibs/proper/regexp/trunk/xml/ Copied: jakarta/taglibs/proper/regexp/trunk/NOTICE.txt (from r731102, jakarta/taglibs/proper/string/trunk/NOTICE.txt) URL: http://svn.apache.org/viewvc/jakarta/taglibs/proper/regexp/trunk/NOTICE.txt?p2=jakarta/taglibs/proper/regexp/trunk/NOTICE.txt&p1=jakarta/taglibs/proper/string/trunk/NOTICE.txt&r1=731102&r2=731140&rev=731140&view=diff ============================================================================== --- jakarta/taglibs/proper/string/trunk/NOTICE.txt (original) +++ jakarta/taglibs/proper/regexp/trunk/NOTICE.txt Sat Jan 3 16:36:40 2009 @@ -1,4 +1,4 @@ -Apache Jakarta String Taglib +Apache Jakarta Regexp Taglib Copyright 2001-2009 The Apache Software Foundation This product includes software developed by Added: jakarta/taglibs/proper/regexp/trunk/pom.xml URL: http://svn.apache.org/viewvc/jakarta/taglibs/proper/regexp/trunk/pom.xml?rev=731140&view=auto ============================================================================== --- jakarta/taglibs/proper/regexp/trunk/pom.xml (added) +++ jakarta/taglibs/proper/regexp/trunk/pom.xml Sat Jan 3 16:36:40 2009 @@ -0,0 +1,77 @@ +<?xml version="1.0"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<!-- TODO: + Generate the doc war + Generate the examples war +--> +<project + xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.taglibs</groupId> + <artifactId>taglibs-parent</artifactId> + <version>1-SNAPSHOT</version> + </parent> + + <artifactId>regexp-taglib</artifactId> + <version>1.1-SNAPSHOT</version> + <name>Jakarta Regexp Taglib</name> + + <inceptionYear>2001</inceptionYear> + <description> + The Regexp custom tag library contains tags which can be used to perform Perl syntax regular expressions. + </description> + + <url>http://jakarta.apache.org/taglibs/doc/regexp-doc/intro.html</url> + + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/taglibs/proper/regexp/trunk</connection> + <developerConnection>scm:svn:https://svn.apache.org/repos/asf/jakarta/taglibs/proper/regexp/trunk</developerConnection> + <url>http://svn.apache.org/viewvc/jakarta/taglibs/proper/regexp/trunk</url> + </scm> + + <developers> + <developer> + <name>Glenn Nielsen</name> + <id>glenn</id> + </developer> + </developers> + + <dependencies> + <dependency> + <groupId>oro</groupId> + <artifactId>oro</artifactId> + <version>2.0.8</version> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + <version>2.4</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>jsp-api</artifactId> + <version>2.0</version> + <scope>provided</scope> + </dependency> + </dependencies> + +</project> Propchange: jakarta/taglibs/proper/regexp/trunk/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: jakarta/taglibs/proper/regexp/trunk/src/main/resources/META-INF/taglibs-regexp.tld URL: http://svn.apache.org/viewvc/jakarta/taglibs/proper/regexp/trunk/src/main/resources/META-INF/taglibs-regexp.tld?rev=731140&view=auto ============================================================================== --- jakarta/taglibs/proper/regexp/trunk/src/main/resources/META-INF/taglibs-regexp.tld (added) +++ jakarta/taglibs/proper/regexp/trunk/src/main/resources/META-INF/taglibs-regexp.tld Sat Jan 3 16:36:40 2009 @@ -0,0 +1,640 @@ +<?xml version="1.0" ?> +<!-- + Copyright 1999-2004 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<taglib> + <tlib-version>1.0.1</tlib-version> + <jsp-version>1.1</jsp-version> + <short-name>regexp</short-name> + <uri>http://jakarta.apache.org/taglibs/regexp-1.0</uri> + <display-name>Regexp Tag library</display-name> + + <description> +<p> +The Regexp custom tag library contains tags which can +be used to perform Perl syntax regular expressions. +</p> + +<p> +These tags implement the three most common Perl5 operations +involving regular expressions: +<ul> +<li> + [m]/pattern/[i][m][s][x]</li> +<li> + s/pattern/replacement/[g][i][m][o][s][x]</li> +<li> + split()</li> +</ul> + +As with Perl, any non-alphanumeric character can be used +in lieu of the slashes. +</p> + +<p> +For more information on how to use Perl syntax regular expressions you can +start at the <a href="http://www.perl.com/pub/doc/manual/html/pod/perlre.html">Perl Regular Expression</a> page. + +http://www.perl.com/pub/doc/manual/html/pod/perlre.html +</p> + +<p> +If you <a href="http://www.google.com/search?q=perl+regular+expression">search</a> the web you can find thousands of web sites documenting +how to use perl regular expressions. +</p> + </description> + + <tag> + <name>regexp</name> + <tag-class>org.apache.taglibs.regexp.RegexpTag</tag-class> + <body-content>JSP</body-content> + <display-name>regexp</display-name> + <description> + Create a regular expression script variable. + </description> + + <!-- The next three non-standard elements are used to inform the relevant + sections of the HTML doc. See, for example, the Regexp + taglib docs for examples of the output. --> + <!-- One line summary of what tag does for Tag Summary section --> + <summary>Create a regular expression script variable.</summary> + <!-- Version of taglib when this tag became available, + deprecated is a possible value. --> + <availability>1.0</availability> + <!-- Any restrictions on use of the tag --> + <restrictions> + The body of the tag is assigned to a script variable + as a regular expression. + </restrictions> + + <!-- Declaration of scripting variables created by tag. + Used for generating HTML documentation and for + JSP 1.2 DTD. --> + <variable> + <!-- name-given or name-from-attribute must be declared + <name-given>foo</name-given> + --> + <name-from-attribute>id</name-from-attribute> + <!-- Optional variable declarations --> + <!-- Package and class name of variable, default java.lang.String --> + <variable-class>org.apache.taglibs.regexp.RegexpData</variable-class> + <!-- Usage for declare is not clear in JSP1.2PFD, default true --> + <declare>true</declare> + <!-- scope of scripting variable, default NESTED --> + <scope>AT_BEGIN</scope> + <!-- description of scripting variable --> + <description>Regular Expression Bean</description> + + <!-- Used for the HTML documentation only. + Version of taglib when this script variable became available, + deprecated is a possible value. --> + <availability>1.0</availability> + + <!-- If the tag creates a script variable or attribute which + is a bean, the following declarations can be used to generate + HTML documentation for 0 .. N properties. --> + <beanprop> + <name>regexp</name> + <get>Yes</get> + <set>No</set> + <description> + Returns the text of the regular expression. + </description> + <availability>1.0</availability> + </beanprop> + </variable> + + <attribute> + <name>id</name> + <required>true</required> + <rtexprvalue>false</rtexprvalue> + <!-- The following element is non-standard, but probably will be + standard in final JSP 1.2. For now it is only used for the HTML + doc. --> + <description> + Script variable id for use with standard <b>jsp:getProperty</b> + tag and as an attribute to other tags in this tag library. + </description> + <availability>1.0</availability> + </attribute> + + <!-- The entire example section is for usage examples that you want to + have added to the HTML doc under "Example" for each tag. The + example section is also included with a JSP 1.2 TLD. The + contents of these elements are rendered into a simple form of + syntax highlighting by the XSL sheet. Multiple usage sections + are allowed, and each will be display as a separate example + in the resultant HTML. --> + <example> + <!--Enter a JSP comment without the opening and closing tags. + Those will be added by the XSL. Put no HTML mark-up in here. + Currently, only one comment per usage section is supported. --> + <comment> + Create a match regular expression scripting variable. + </comment> + + <!-- The code element is for an example of using the tag. I + normally put these in CDATA sections so that the XSL + transform to HTML will turn the angle brackets into the + appropriate < and > entities automatically. Only + one code element per usage element is supported. + The resultant HTML is formatted and colorized. --> +<![CDATA[<rx:regexp id="rx1">m/test1/mi</rx:regexp> +The regular expression is: +<jsp:getProperty name="rx1" property="regexp"/>]]> + </example> + + </tag> + + <tag> + <name>text</name> + <tag-class>org.apache.taglibs.regexp.TextTag</tag-class> + <body-content>JSP</body-content> + <display-name>text</display-name> + <description> + Create a text string script variable for use with a regexp. + </description> + + <summary> + Create a text string script variable for use with a regexp. + </summary> + <availability>1.0</availability> + <restrictions> + The body of the tag is assigned to a script variable + as a text string. + </restrictions> + + <!-- Declaration of scripting variables created by tag. + Used for generating HTML documentation and for + JSP 1.2 DTD. --> + <variable> + <!-- name-given or name-from-attribute must be declared + <name-given>foo</name-given> + --> + <name-from-attribute>id</name-from-attribute> + <!-- Optional variable declarations --> + <!-- Package and class name of variable, default java.lang.String --> + <variable-class>org.apache.taglibs.regexp.TextData</variable-class> + <!-- Usage for declare is not clear in JSP1.2PFD, default true --> + <declare>true</declare> + <!-- scope of scripting variable, default NESTED --> + <scope>AT_BEGIN</scope> + <!-- description of scripting variable --> + <description>Text String Bean</description> + + <!-- Used for the HTML documentation only. + Version of taglib when this script variable became available, + deprecated is a possible value. --> + <availability>1.0</availability> + + <!-- If the tag creates a script variable or attribute which + is a bean, the following declarations can be used to generate + HTML documentation for 0 .. N properties. --> + <beanprop> + <name>text</name> + <get>Yes</get> + <set>No</set> + <description>Returns the text string.</description> + <availability>1.0</availability> + </beanprop> + </variable> + + <attribute> + <name>id</name> + <required>true</required> + <rtexprvalue>false</rtexprvalue> + <description> + Script variable id for use with standard <b>jsp:getProperty</b> + tag and as an attribute to other tags in this tag library. + </description> + <availability>1.0</availability> + </attribute> + + <example> + <comment>Create a text string scripting variable.</comment> +<![CDATA[<rx:text id="tx1">This is a test string.</rx:text> +The text string is: +<jsp:getProperty name="tx1" property="text"/>]]> + </example> + + </tag> + + <tag> + <name>existsMatch</name> + <tag-class>org.apache.taglibs.regexp.ExistsMatchTag</tag-class> + <body-content>JSP</body-content> + <display-name>existsMatch</display-name> + <description> + Uses a regexp to determine if a match exists in the text. + </description> + + <summary> + Uses a regexp to determine if a match exists in the text. + </summary> + <availability>1.0</availability> + <restrictions>None</restrictions> + + <attribute> + <name>regexp</name> + <required>true</required> + <rtexprvalue>false</rtexprvalue> + <description> + Script variable id of <b>regexp</b> to use for match. + </description> + <availability>1.0</availability> + </attribute> + <attribute> + <name>text</name> + <required>true</required> + <rtexprvalue>false</rtexprvalue> + <description> + Script variable id of <b>text</b> to check for a match. + </description> + <availability>1.0</availability> + </attribute> + <attribute> + <name>value</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + <description> + If value is set to <b>false</b> the existsMatch tag includes body + of tag if a match does not exist. Default is <b>true</b>. + </description> + <availability>1.0</availability> + </attribute> + + <example> + <comment> + Determine if a match can be found in a text string using a + regular expression. + </comment> + +<![CDATA[<%-- create the match regexp "m/test1/mi" --%> +<rx:regexp id="rx1">m/test1/mi</rx:regexp> +<%-- set the text to match on --%> +<rx:text id="test"> +This is a +test of regular expression matching. +</rx:text> +See if a match exists...<br> +<rx:existsMatch regexp="rx1" text="test"> + A match was found!<br> +</rx:existsMatch> +<rx:existsMatch regexp="rx1" text="test" value="false"> + A match was not found!<br> +</rx:existsMatch>]]> + </example> + + </tag> + + <tag> + <name>substitute</name> + <tag-class>org.apache.taglibs.regexp.SubstituteTag</tag-class> + <body-content>JSP</body-content> + <display-name>substitute</display-name> + <description> + Performs a string substitution on text using a regexp. + </description> + + <summary>Performs a string substitution on text using a regexp.</summary> + <availability>1.0</availability> + <restrictions>None</restrictions> + + <attribute> + <name>regexp</name> + <required>true</required> + <rtexprvalue>false</rtexprvalue> + <description> + Script variable id of <b>regexp</b> to use for substitute. + </description> + <availability>1.0</availability> + </attribute> + <attribute> + <name>text</name> + <required>true</required> + <rtexprvalue>false</rtexprvalue> + <description> + Script variable id of <b>text</b> to perform substitution on. + </description> + <availability>1.0</availability> + </attribute> + + <example> + <comment> + Substitute "test2" for "test1" in a text string. + </comment> + +<![CDATA[<%-- create the substitute regexp "s/test1/test2/gmi" --%> +<rx:regexp id="rx2">s/test1/test2/gmi</rx:regexp> +<%-- set the text to match on --%> +<rx:text id="test"> +This is +test1 of regular expression substitution. +</rx:text> +Here is the text after substitution...<br> +<rx:substitute regexp="rx2" text="test"/>]]> + </example> + + </tag> + + <tag> + <name>split</name> + <tag-class>org.apache.taglibs.regexp.SplitTag</tag-class> + <tei-class>org.apache.taglibs.regexp.SplitTEI</tei-class> + <body-content>JSP</body-content> + <display-name>split</display-name> + <description> + Implements a perl style split on the text. + </description> + + <summary>Implements a perl style split on the text.</summary> + <availability>1.0</availability> + <restrictions>None</restrictions> + + <!-- Declaration of scripting variables created by tag. + Used for generating HTML documentation and for + JSP 1.2 DTD. --> + <variable> + <!-- name-given or name-from-attribute must be declared + <name-given>foo</name-given> + --> + <name-from-attribute>id</name-from-attribute> + <!-- Optional variable declarations --> + <!-- Package and class name of variable, default java.lang.String --> + <variable-class>org.apache.taglibs.regexp.SplitTag</variable-class> + <!-- Usage for declare is not clear in JSP1.2PFD, default true --> + <declare>true</declare> + <!-- scope of scripting variable, default NESTED --> + <scope>NESTED</scope> + <!-- description of scripting variable --> + <description>Split Data Bean</description> + + <!-- Used for the HTML documentation only. + Version of taglib when this script variable became available, + deprecated is a possible value. --> + <availability>1.0</availability> + <!-- If the tag creates a script variable or attribute which + is a bean, the following declarations can be used to generate + HTML documentation for 0 .. N properties. --> + <beanprop> + <name>split</name> + <get>Yes</get> + <set>No</set> + <description> + Returns the string split out from text. + </description> + <availability>1.0</availability> + </beanprop> + </variable> + + <attribute> + <name>id</name> + <required>true</required> + <rtexprvalue>false</rtexprvalue> + <description> + Script variable id for use with standard <b>jsp:getProperty</b> tag. + </description> + <availability>1.0</availability> + </attribute> + <attribute> + <name>regexp</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + <description> + Script variable id of <b>regexp</b> to use for split. + If no <b>regexp</b> is used the split will be done based + on whitespace. + </description> + <availability>1.0</availability> + </attribute> + <attribute> + <name>text</name> + <required>true</required> + <rtexprvalue>false</rtexprvalue> + <description> + Script variable id of <b>text</b> to perform split on. + </description> + <availability>1.0</availability> + </attribute> + <attribute> + <name>limit</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + <description> + Set a limit for the number of strings split out from text. + </description> + <availability>1.0</availability> + </attribute> + + <example> + <comment> + First perform a split of a text string on whitespace, + then perform a split on the character ','. + </comment> + +<![CDATA[<%-- set the text to split --%> +<rx:text id="test"> +This is +test1 of a regular expression split, +on whitespace, and then on a comma. +</rx:text> +<ul> +<rx:split id="split" text="test"> + <jsp:getProperty name="split" property="split"/><br> +</rx:split> +</ul> +<%-- now split the text using a comma with limit of 2 --%> +<rx:regexp id="rx3">/,/m</rx:regexp> +<ul> +<rx:split id="split" text="test" regexp="rx3" limit="2"> + <jsp:getProperty name="split" property="split"/><br> +</rx:split> +</ul>]]> + </example> + + </tag> + + <tag> + <name>match</name> + <tag-class>org.apache.taglibs.regexp.MatchTag</tag-class> + <tei-class>org.apache.taglibs.regexp.MatchTEI</tei-class> + <body-content>JSP</body-content> + <display-name>match</display-name> + <description> + Loops through each match found in a text string by a regexp. + </description> + + <summary> + Loops through each match found in a text string by a regexp. + </summary> + <availability>1.0</availability> + <restrictions>None</restrictions> + + <variable> + <!-- name-given or name-from-attribute must be declared + <name-given>foo</name-given> + --> + <name-from-attribute>id</name-from-attribute> + <!-- Optional variable declarations --> + <!-- Package and class name of variable, default java.lang.String --> + <variable-class>org.apache.taglibs.regexp.MatchTag</variable-class> + <!-- Usage for declare is not clear in JSP1.2PFD, default true --> + <declare>true</declare> + <!-- scope of scripting variable, default NESTED --> + <scope>NESTED</scope> + <!-- description of scripting variable --> + <description>Match Data Bean</description> + + <!-- Used for the HTML documentation only. + Version of taglib when this script variable became available, + deprecated is a possible value. --> + <availability>1.0</availability> + <!-- If the tag creates a script variable or attribute which + is a bean, the following declarations can be used to generate + HTML documentation for 0 .. N properties. --> + <beanprop> + <name>match</name> + <get>Yes</get> + <set>No</set> + <description> + Returns the entire string that was matched on. + </description> + <availability>1.0</availability> + </beanprop> + <beanprop> + <name>preMatch</name> + <get>Yes</get> + <set>No</set> + <description> + Returns the string preceding the current match. + </description> + <availability>1.0</availability> + </beanprop> + <beanprop> + <name>postMatch</name> + <get>Yes</get> + <set>No</set> + <description> + Returns the string after the current match. + </description> + <availability>1.0</availability> + </beanprop> + </variable> + + <attribute> + <name>id</name> + <required>true</required> + <rtexprvalue>false</rtexprvalue> + <description> + Script variable id for use with standard <b>jsp:getProperty</b> tag. + </description> + <availability>1.0</availability> + </attribute> + <attribute> + <name>regexp</name> + <required>true</required> + <rtexprvalue>false</rtexprvalue> + <description> + Script variable id of <b>regexp</b> to use for match. + </description> + <availability>1.0</availability> + </attribute> + <attribute> + <name>text</name> + <required>true</required> + <rtexprvalue>false</rtexprvalue> + <description> + Script variable id of <b>text</b> to perform match on. + </description> + <availability>1.0</availability> + </attribute> + + <example> + <comment> + Use match to find all words in a text string that start with the + letter 'i'. + </comment> + +<![CDATA[<%-- set the text to perform match --%> +<rx:text id="test"> +This is +test1 of a regular expression match, +on words that start with 'i' like item and +index. +</rx:text> +<%-- create the match regexp "m/\si[^\s]*\s/mi" --%> +<rx:regexp id="rx4">m/\si[^\s]*\s/mi</rx:regexp> +<pre> +<rx:match id="mtch" text="test" regexp="rx4"> + Match: <jsp:getProperty name="mtch" property="match"/><br> + Pre Match: <jsp:getProperty name="mtch" property="preMatch"/><br> + Post Match: <jsp:getProperty name="mtch" property="postMatch"/><br> +</rx:match>]]> + </example> + + </tag> + + <tag> + <name>group</name> + <tag-class>org.apache.taglibs.regexp.GroupTag</tag-class> + <body-content>empty</body-content> + <display-name>group</display-name> + <description> + Get the value of a single parenthesized group within a single match. + </description> + + <summary> + Get the value of a single parenthesized group within a single match. + </summary> + <availability>1.0</availability> + <restrictions>Must be nested inside a <b>match</b> tag.</restrictions> + + <attribute> + <name>number</name> + <required>true</required> + <rtexprvalue>false</rtexprvalue> + <description> + Parenthesised group number to get from match. + </description> + <availability>1.0</availability> + </attribute> + + <example> + <comment> + Use the group tag to get the next word in a text string after a word + that starts with the letter 'i'. + </comment> + +<![CDATA[<%-- set the text to perform match --%> +<rx:text id="test"> +This is +test1 of a regular expression match, +on words that start with 'i' like item and +index, the group tag will be used to get the +next word after the word starting with 'i'. +</rx:text> +<%-- create the match regexp "m/\si[^\s]*\s([^\s]+)/mi" --%> +<rx:regexp id="rx4">m/\si[^\s]*\s([^\s]+)/mi</rx:regexp> +<pre> +<rx:match id="mtch" text="test" regexp="rx4"> + Match: <jsp:getProperty name="mtch" property="match"/><br> + Parenthesized Group 1: <rx:group number="1"/> +</rx:match></pre>]]> + </example> + + </tag> + +</taglib> Propchange: jakarta/taglibs/proper/regexp/trunk/src/main/resources/META-INF/taglibs-regexp.tld ------------------------------------------------------------------------------ svn:eol-style = native Added: jakarta/taglibs/proper/regexp/trunk/xdocs/index.xml URL: http://svn.apache.org/viewvc/jakarta/taglibs/proper/regexp/trunk/xdocs/index.xml?rev=731140&view=auto ============================================================================== --- jakarta/taglibs/proper/regexp/trunk/xdocs/index.xml (added) +++ jakarta/taglibs/proper/regexp/trunk/xdocs/index.xml Sat Jan 3 16:36:40 2009 @@ -0,0 +1,68 @@ +<?xml version="1.0"?> +<!-- + Copyright 1999-2004 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<document> + + <properties> + <title>The Jakarta-Taglibs Project: Regexp Tag Library</title> + </properties> + + <body> + + + <section name="Regexp Tag Library" href="Welcome"> + <p>The Regexp custom tag library contains tags which can + be used to perform Perl syntax regular expressions.</p> + <p>These tags implement the 3 most common Perl5 operations + involving regular expressions:</p> + + <ul> + <li>[m]/pattern/[i][m][s][x] </li> + <li>s/pattern/replacement/[g][i][m][o][s][x] </li> + <li>and split() </li> + </ul> + + <p>As with Perl, any non-alphanumeric character can be used + in lieu of the slashes.</p> + </section> + + <section name="News" href="News"> + <table> + <tr><th>Date</th><th>News</th></tr> + <tr><td>12/1/2002</td> + <td>Version 1.0.1 Released</td></tr> + <tr><td>04/14/2002</td> + <td>Version 1.0 Released</td></tr> + <tr><td>07/22/2001</td> + <td>Version 1.0 Beta 1 Released</td></tr> + </table> + </section> + + <section name="Download" href="Download"> + + <p>Download a binary distribution of the Regexp Tag Library</p> + <ul> + <li> + Download the Regexp Tag Library 1.0.1 Release from an + <a href="http://jakarta.apache.org/site/downloads/downloads_taglibs-regexp.cgi"> + Apache Jakarta Project Mirror</a> + </li> + </ul> + + </section> + + </body> +</document> Propchange: jakarta/taglibs/proper/regexp/trunk/xdocs/index.xml ------------------------------------------------------------------------------ svn:eol-style = native --------------------------------------------------------------------- To unsubscribe, e-mail: taglibs-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: taglibs-dev-h...@jakarta.apache.org