Tim Allison created TIKA-3730:
---------------------------------

             Summary: New ExternalParser doesn't work on Windows
                 Key: TIKA-3730
                 URL: https://issues.apache.org/jira/browse/TIKA-3730
             Project: Tika
          Issue Type: Task
            Reporter: Tim Allison


[~tilman] noted that the external2.ExternalParser uses "replaceAll" on a regex 
where the replacement is a file path does not work on Windows.  The replaceAll 
strips the file separators.  I admit that I cannot figure out why this is is 
happening.  I've tried a couple of combinations of backslashing etc, but 
nothing is working.  I even tried Pattern.quote() and that doesn't work on 
Windows. 

If we back off to use "replace" with a string, everything seems to work.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to