[ 
https://issues.apache.org/jira/browse/RAT-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Ottlinger closed RAT-507.
---------------------------------
    Resolution: Fixed

> Copyright matcher fails for some input.
> ---------------------------------------
>
>                 Key: RAT-507
>                 URL: https://issues.apache.org/jira/browse/RAT-507
>             Project: Apache Rat
>          Issue Type: Bug
>          Components: core engine
>    Affects Versions: 0.17
>            Reporter: Claude Warren
>            Priority: Major
>             Fix For: 1.0.0
>
>
> When matching the owner name the input string is taken as a literal.  
> However, if the file in which the copyright notice was placed has wrapped the 
> text there will be other non-space characters, including leading comment 
> characters or formatting characters.
> This change should process the owner name string and replace any contiguous 
> whitspace characters with "\W+"  In addition any tokens (the things at the 
> beginning, ending, and between the whitespace) should be surrounded with "\Q" 
> and "\E" to prohibit the token from being parsed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to