e9a84e8 Simplify and tighten license and documentation file name matching

Authored and Committed by zbyszek 2 years ago
    Simplify and tighten license and documentation file name matching
    
    [\.] is the same as [.], and [-] matches the dash, no need for backclash-escaping.
    Also, let's shorten the patches by using alternatives for the common parts.
    
    Before we would match any prefix, even though the matches were clearly intended
    to cover the whole file name. Let's use fullmatch to make it clear that the whole
    string must be matched.
    
        
file modified
+17 -16