ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/util/regexp Jdk14RegexpMatcher.java
Date Wed, 30 Jan 2002 21:04:31 GMT
sbailliez    02/01/30 13:04:31

  Modified:    src/main/org/apache/tools/ant/util/regexp
                        Jdk14RegexpMatcher.java
  Log:
  Prepare for changing listener interface and event types.
  
  Revision  Changes    Path
  1.4       +2 -1      jakarta-ant/src/main/org/apache/tools/ant/util/regexp/Jdk14RegexpMatcher.java
  
  Index: Jdk14RegexpMatcher.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/util/regexp/Jdk14RegexpMatcher.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Jdk14RegexpMatcher.java	8 Jan 2002 22:45:21 -0000	1.3
  +++ Jdk14RegexpMatcher.java	30 Jan 2002 21:04:31 -0000	1.4
  @@ -161,7 +161,8 @@
   
       protected int getCompilerOptions(int options)
       {
  -        int cOptions = 0;
  +        // be strict about line separator
  +        int cOptions = Pattern.UNIX_LINES;
   
           if (RegexpUtil.hasFlag(options, MATCH_CASE_INSENSITIVE)) {
               cOptions |= Pattern.CASE_INSENSITIVE;
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message