DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36239>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36239


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From [EMAIL PROTECTED]  2005-08-31 17:49 -------
The way tokenfilter works is that it tokenizes the input stream by
default into lines before passing them to the nested token filters.

One can change the tokenizer by adding a nested tokenizer to tokenfilter.
In your case you need to use <filetokenizer/>.

So the copy should look like:

    <copy overwrite="true" file="src.txt" tofile="dest.txt">
      <filterchain>
        <tokenfilter>
          <filetokenizer/>
          <replaceregex pattern="START.*" replace="SNIP" flags="gs"/>
        </tokenfilter>
      </filterchain>
    </copy>

This is probally a doc issue.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to