I noticed that the exclusions were not working on this string:
sites/all/modules/custom/*/node.*.inc
A dsm() of the $exclusions variable showed that it was being converted to this regex:
sites\/all\/modules\/custom\/\.*\/node\.\.*\.inc
node.*.inc should end up as node\..*\.inc, but the . in .* is getting escaped. Looks like this is caused by the order of string replacement in prepping the regex.
This patch moves the * replacement to the end of the str_replace() operation and fixes it for me.
| Comment | File | Size | Author |
|---|---|---|---|
| coder.exclusions.patch | 1.07 KB | zroger |
Comments
Comment #1
klausiCoder for Drupal 6 is now frozen and only security fixes will be applied. Feel free to update this issue and reopen against 7.x-2.x or 8.x-2.x.