You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oro-dev@jakarta.apache.org by df...@apache.org on 2001/05/17 23:59:41 UTC
cvs commit: jakarta-oro/src/java/org/apache/oro/text/regex CharStringPointer.java MalformedPatternException.java MatchResult.java OpCode.java Pattern.java PatternCompiler.java PatternMatcher.java PatternMatcherInput.java Perl5Compiler.java Perl5Debug.java Perl5MatchResult.java Perl5Matcher.java Perl5Pattern.java Perl5Repetition.java StringSubstitution.java Util.java
dfs 01/05/17 14:59:41
Modified: src/java/org/apache/oro/text/perl
MalformedPerl5PatternException.java
ParsedSubstitutionEntry.java Perl5Util.java
src/java/org/apache/oro/text/regex CharStringPointer.java
MalformedPatternException.java MatchResult.java
OpCode.java Pattern.java PatternCompiler.java
PatternMatcher.java PatternMatcherInput.java
Perl5Compiler.java Perl5Debug.java
Perl5MatchResult.java Perl5Matcher.java
Perl5Pattern.java Perl5Repetition.java
StringSubstitution.java Util.java
Log:
Updated javadocs to include release version number rather than the RCS
version and also added @since tags for each of the classes and some methods
where appropriate. The RCS version now goes at the top of the file after
the license.
Rationale: RCS versions only have meaning to developers, not users, an
therefore should stay in the source. Release version numbers
have meaning to users and give meaning to the @since entries.
Still have to update rest of the packages to conform to this convention.
Revision Changes Path
1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/perl/MalformedPerl5PatternException.java
Index: MalformedPerl5PatternException.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/perl/MalformedPerl5PatternException.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- MalformedPerl5PatternException.java 2001/05/09 18:21:31 1.3
+++ MalformedPerl5PatternException.java 2001/05/17 21:59:26 1.4
@@ -57,6 +57,9 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: MalformedPerl5PatternException.java,v 1.4 2001/05/17 21:59:26 dfs Exp $
+ */
import org.apache.oro.text.MalformedCachePatternException;
/**
@@ -73,10 +76,10 @@
* However, pieces of code with expressions that you cannot guarantee to
* be correct should catch MalformedPerl5PatternException to ensure
* reliability.
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: MalformedPerl5PatternException.java,v 1.3 2001/05/09 18:21:31 dfs Exp $
-
+ *
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.0
* @see org.apache.oro.text.regex.MalformedPatternException
*/
public final class MalformedPerl5PatternException
1.4 +7 -3 jakarta-oro/src/java/org/apache/oro/text/perl/ParsedSubstitutionEntry.java
Index: ParsedSubstitutionEntry.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/perl/ParsedSubstitutionEntry.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ParsedSubstitutionEntry.java 2001/05/09 18:21:33 1.3
+++ ParsedSubstitutionEntry.java 2001/05/17 21:59:26 1.4
@@ -57,11 +57,15 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: ParsedSubstitutionEntry.java,v 1.4 2001/05/17 21:59:26 dfs Exp $
+ */
import org.apache.oro.text.regex.*;
- /**
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: ParsedSubstitutionEntry.java,v 1.3 2001/05/09 18:21:33 dfs Exp $
+/**
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.0
*/
final class ParsedSubstitutionEntry {
int _numSubstitutions;
1.8 +7 -4 jakarta-oro/src/java/org/apache/oro/text/perl/Perl5Util.java
Index: Perl5Util.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/perl/Perl5Util.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Perl5Util.java 2001/05/09 18:21:34 1.7
+++ Perl5Util.java 2001/05/17 21:59:27 1.8
@@ -57,6 +57,9 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: Perl5Util.java,v 1.8 2001/05/17 21:59:27 dfs Exp $
+ */
import java.util.*;
import org.apache.oro.text.regex.*;
import org.apache.oro.text.*;
@@ -146,10 +149,10 @@
* MatchResult found (which can be accessed with
* {@link #getMatch()} by a match or substitution
* (or even a split, but this isn't particularly useful).
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: Perl5Util.java,v 1.7 2001/05/09 18:21:34 dfs Exp $
-
+ *
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.0
* @see MalformedPerl5PatternException
* @see org.apache.oro.text.PatternCache
* @see org.apache.oro.text.PatternCacheLRU
1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/CharStringPointer.java
Index: CharStringPointer.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/CharStringPointer.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- CharStringPointer.java 2001/05/09 18:21:41 1.3
+++ CharStringPointer.java 2001/05/17 21:59:29 1.4
@@ -57,14 +57,18 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: CharStringPointer.java,v 1.4 2001/05/17 21:59:29 dfs Exp $
+ */
+
/**
* The CharStringPointer class is used to facilitate traversal of a char[]
* in the manner pointer traversals of strings are performed in C/C++.
* It is expected that the compiler will inline all the functions.
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: CharStringPointer.java,v 1.3 2001/05/09 18:21:41 dfs Exp $
-
+ *
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @since 1.0
+ * @version @version@
*/
final class CharStringPointer {
static final char _END_OF_STRING = Character.MAX_VALUE;
1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/regex/MalformedPatternException.java
Index: MalformedPatternException.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/MalformedPatternException.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- MalformedPatternException.java 2001/05/09 18:21:43 1.3
+++ MalformedPatternException.java 2001/05/17 21:59:29 1.4
@@ -57,6 +57,9 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: MalformedPatternException.java,v 1.4 2001/05/17 21:59:29 dfs Exp $
+ */
import java.lang.*;
/**
@@ -68,10 +71,10 @@
* for any purpose. This does not preclude users and third party
* implementors of the interfaces of this package from subclassing it
* for their own purposes.
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: MalformedPatternException.java,v 1.3 2001/05/09 18:21:43 dfs Exp $
-
+ *
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.0
* @see PatternCompiler
*/
public class MalformedPatternException extends Exception {
1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/MatchResult.java
Index: MatchResult.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/MatchResult.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- MatchResult.java 2001/05/09 18:21:44 1.3
+++ MatchResult.java 2001/05/17 21:59:30 1.4
@@ -57,6 +57,10 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: MatchResult.java,v 1.4 2001/05/17 21:59:30 dfs Exp $
+ */
+
/**
* The MatchResult interface allows PatternMatcher implementors to return
* results storing match information in whatever format they like, while
@@ -122,10 +126,10 @@
* }
* }
* </pre></blockquote>
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: MatchResult.java,v 1.3 2001/05/09 18:21:44 dfs Exp $
-
+ *
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.0
* @see PatternMatcher
*/
1.8 +8 -3 jakarta-oro/src/java/org/apache/oro/text/regex/OpCode.java
Index: OpCode.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/OpCode.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- OpCode.java 2001/05/09 18:21:46 1.7
+++ OpCode.java 2001/05/17 21:59:30 1.8
@@ -57,13 +57,18 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: OpCode.java,v 1.8 2001/05/17 21:59:30 dfs Exp $
+ */
+
/**
* The OpCode class should not be instantiated. It is a holder of various
* constants and static methods pertaining to the manipulation of the
* op-codes used in a compiled regular expression.
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: OpCode.java,v 1.7 2001/05/09 18:21:46 dfs Exp $
+ *
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.0
*/
final class OpCode {
1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/Pattern.java
Index: Pattern.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Pattern.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Pattern.java 2001/05/09 18:21:47 1.3
+++ Pattern.java 2001/05/17 21:59:31 1.4
@@ -57,6 +57,10 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: Pattern.java,v 1.4 2001/05/17 21:59:31 dfs Exp $
+ */
+
/**
* The Pattern interface allows multiple representations of a regular
* expression to be defined. In general, different regular expression
@@ -68,10 +72,10 @@
* to be interchangeable among differing PatternCompiler and PatternMatcher
* implementations. The documentation accompanying a specific implementation
* will define what other classes a Pattern can interact with.
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: Pattern.java,v 1.3 2001/05/09 18:21:47 dfs Exp $
-
+ *
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.0
* @see PatternCompiler
* @see PatternMatcher
*/
1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/PatternCompiler.java
Index: PatternCompiler.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/PatternCompiler.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- PatternCompiler.java 2001/05/09 18:21:52 1.3
+++ PatternCompiler.java 2001/05/17 21:59:31 1.4
@@ -57,6 +57,10 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: PatternCompiler.java,v 1.4 2001/05/17 21:59:31 dfs Exp $
+ */
+
/**
* The PatternCompiler interface defines the operations a regular
* expression compiler must implement. However, the types of
@@ -98,10 +102,10 @@
* variations of the compile() methods that take extra options affecting
* the compilation of a pattern. However, the PatternCompiler method
* implementations should provide the default behavior of the class.
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: PatternCompiler.java,v 1.3 2001/05/09 18:21:52 dfs Exp $
-
+ *
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.0
* @see Pattern
* @see PatternMatcher
* @see MalformedPatternException
1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/PatternMatcher.java
Index: PatternMatcher.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/PatternMatcher.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- PatternMatcher.java 2001/05/09 18:21:54 1.3
+++ PatternMatcher.java 2001/05/17 21:59:31 1.4
@@ -57,6 +57,10 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: PatternMatcher.java,v 1.4 2001/05/17 21:59:31 dfs Exp $
+ */
+
/**
* The PatternMatcher interface defines the operations a regular
* expression matcher must implement. However, the types of the Pattern
@@ -74,10 +78,10 @@
* expression grammars may be added and users may also create their own
* implementations of the provided interfaces. Therefore the programmer
* should be careful not to mismatch classes.
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: PatternMatcher.java,v 1.3 2001/05/09 18:21:54 dfs Exp $
-
+ *
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.0
* @see Pattern
* @see PatternCompiler
* @see MatchResult
1.4 +7 -5 jakarta-oro/src/java/org/apache/oro/text/regex/PatternMatcherInput.java
Index: PatternMatcherInput.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/PatternMatcherInput.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- PatternMatcherInput.java 2001/05/09 18:21:55 1.3
+++ PatternMatcherInput.java 2001/05/17 21:59:32 1.4
@@ -57,6 +57,10 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: PatternMatcherInput.java,v 1.4 2001/05/17 21:59:32 dfs Exp $
+ */
+
/**
* The PatternMatcherInput class is used to preserve state across
* calls to the <code>contains()</code> methods of PatternMatcher instances.
@@ -109,12 +113,10 @@
* input.setInput(aNewInputString);
*
* </pre></blockquote>
- *
*
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: PatternMatcherInput.java,v 1.3 2001/05/09 18:21:55 dfs Exp $
-
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.0
* @see PatternMatcher
*/
public final class PatternMatcherInput {
1.11 +7 -4 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Compiler.java
Index: Perl5Compiler.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Compiler.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Perl5Compiler.java 2001/05/09 18:21:57 1.10
+++ Perl5Compiler.java 2001/05/17 21:59:33 1.11
@@ -57,6 +57,9 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: Perl5Compiler.java,v 1.11 2001/05/17 21:59:33 dfs Exp $
+ */
import java.util.*;
/**
@@ -65,10 +68,10 @@
* Perl5Pattern instances upon compilation to be used in conjunction
* with a Perl5Matcher instance. Please see the user's guide for more
* information about Perl5 regular expressions.
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: Perl5Compiler.java,v 1.10 2001/05/09 18:21:57 dfs Exp $
-
+ *
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.0
* @see PatternCompiler
* @see MalformedPatternException
* @see Perl5Pattern
1.7 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Debug.java
Index: Perl5Debug.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Debug.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Perl5Debug.java 2001/05/09 18:21:59 1.6
+++ Perl5Debug.java 2001/05/17 21:59:33 1.7
@@ -57,6 +57,10 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: Perl5Debug.java,v 1.7 2001/05/17 21:59:33 dfs Exp $
+ */
+
/**
* The Perl5Debug class is not intended for general use and should not
* be instantiated, but is provided because some users may find the output
@@ -66,10 +70,10 @@
* not in terms of actual data structures. The Perl5Debug class allows
* the bytecode program contained by a Perl5Pattern to be printed out for
* comparison with the program generated by Perl5 with the -r option.
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: Perl5Debug.java,v 1.6 2001/05/09 18:21:59 dfs Exp $
-
+ *
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.0
* @see Perl5Pattern
*/
public final class Perl5Debug {
1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5MatchResult.java
Index: Perl5MatchResult.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5MatchResult.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Perl5MatchResult.java 2001/05/09 18:22:01 1.3
+++ Perl5MatchResult.java 2001/05/17 21:59:33 1.4
@@ -57,12 +57,16 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: Perl5MatchResult.java,v 1.4 2001/05/17 21:59:33 dfs Exp $
+ */
+
/**
* A class used to store and access the results of a Perl5Pattern match.
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: Perl5MatchResult.java,v 1.3 2001/05/09 18:22:01 dfs Exp $
-
+ *
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.0
* @see PatternMatcher
* @see Perl5Matcher
*/
1.13 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Matcher.java
Index: Perl5Matcher.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Matcher.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- Perl5Matcher.java 2001/05/09 18:22:03 1.12
+++ Perl5Matcher.java 2001/05/17 21:59:33 1.13
@@ -57,6 +57,10 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+
+/*
+ * $Id: Perl5Matcher.java,v 1.13 2001/05/17 21:59:33 dfs Exp $
+ */
import java.io.IOException;
import java.util.*;
@@ -64,10 +68,10 @@
* The Perl5Matcher class is used to match regular expressions
* (conforming to the Perl5 regular expression syntax) generated by
* Perl5Compiler.
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: Perl5Matcher.java,v 1.12 2001/05/09 18:22:03 dfs Exp $
-
+ *
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.0
* @see PatternMatcher
* @see Perl5Compiler
*/
1.5 +7 -4 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Pattern.java
Index: Perl5Pattern.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Pattern.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Perl5Pattern.java 2001/05/09 18:22:04 1.4
+++ Perl5Pattern.java 2001/05/17 21:59:34 1.5
@@ -57,6 +57,9 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: Perl5Pattern.java,v 1.5 2001/05/17 21:59:34 dfs Exp $
+ */
import java.io.*;
/**
@@ -71,10 +74,10 @@
* to a Perl5Compiler instance's compile() methods. The class implements
* the Serializable interface so that instances may be pre-compiled and
* saved to disk if desired.
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: Perl5Pattern.java,v 1.4 2001/05/09 18:22:04 dfs Exp $
-
+ *
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.0
* @see Perl5Compiler
* @see Perl5Matcher
*/
1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Repetition.java
Index: Perl5Repetition.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Repetition.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Perl5Repetition.java 2001/05/09 18:22:06 1.3
+++ Perl5Repetition.java 2001/05/17 21:59:34 1.4
@@ -57,14 +57,18 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: Perl5Repetition.java,v 1.4 2001/05/17 21:59:34 dfs Exp $
+ */
+
/**
* Perl5Repetition is a support class for Perl5Matcher. It was originally
* defined as a top-level class rather than as an inner class to allow
* compilation for JDK 1.0.2.
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: Perl5Repetition.java,v 1.3 2001/05/09 18:22:06 dfs Exp $
-
+ *
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.0
* @see Perl5Matcher
*/
final class Perl5Repetition {
1.5 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/StringSubstitution.java
Index: StringSubstitution.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/StringSubstitution.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- StringSubstitution.java 2001/05/17 21:16:13 1.4
+++ StringSubstitution.java 2001/05/17 21:59:34 1.5
@@ -57,14 +57,18 @@
* by Daniel F. Savarese. We appreciate his contributions.
*/
+/*
+ * $Id: StringSubstitution.java,v 1.5 2001/05/17 21:59:34 dfs Exp $
+ */
+
/**
* StringSubstitution implements a Substitution consisting of a simple
* literal string. This class is intended for use with
* {@link Util#substitute Util.substitute}.
-
- @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
- @version $Id: StringSubstitution.java,v 1.4 2001/05/17 21:16:13 dfs Exp $
-
+ *
+ * @author <a href="mailto:oro-dev@jakarta.apache.org">Daniel F. Savarese</a>
+ * @version @version@
+ * @since 1.1
* @see Substitution
* @see Util
* @see Util#substitute
1.8 +3 -2 jakarta-oro/src/java/org/apache/oro/text/regex/Util.java
Index: Util.java
===================================================================
RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Util.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Util.java 2001/05/17 21:39:12 1.7
+++ Util.java 2001/05/17 21:59:35 1.8
@@ -56,11 +56,11 @@
* Portions of this software are based upon software originally written
* by Daniel F. Savarese. We appreciate his contributions.
*/
-import java.util.*;
/*
- * $Id: Util.java,v 1.7 2001/05/17 21:39:12 dfs Exp $
+ * $Id: Util.java,v 1.8 2001/05/17 21:59:35 dfs Exp $
*/
+import java.util.*;
/**
* The Util class is a holder for useful static utility methods that can
@@ -266,6 +266,7 @@
* specified <code>limit</code>. A way of thinking of this is that
* only the first <code>limit - 1</code> matches of the delimiting
* regular expression will be used to split the input.
+ * @since 1.0
*/
public static Vector split(PatternMatcher matcher, Pattern pattern,
String input, int limit)