|
|
@@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
* Copyright 2001-2002,2004 The Apache Software Foundation |
|
|
|
* Copyright 2001-2002,2004,2006 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. |
|
|
@@ -26,12 +26,12 @@ import org.apache.tools.ant.BuildException; |
|
|
|
public interface Regexp extends RegexpMatcher { |
|
|
|
|
|
|
|
/** |
|
|
|
* Replace only the first occurance of the regular expression |
|
|
|
* Replace only the first occurrence of the regular expression |
|
|
|
*/ |
|
|
|
int REPLACE_FIRST = 0x00000001; |
|
|
|
|
|
|
|
/** |
|
|
|
* Replace all occurances of the regular expression |
|
|
|
* Replace all occurrences of the regular expression |
|
|
|
*/ |
|
|
|
int REPLACE_ALL = 0x00000010; |
|
|
|
|
|
|
|