slachiewicz opened a new issue, #1355: URL: https://github.com/apache/maven-site-plugin/issues/1355
`parserConfigurations` (#1346) matches a `pattern` against the absolute path of the source file through `FileSystem.getPathMatcher`. A `glob:` pattern separates directories with `/` on every platform, but a `regex:` pattern sees the platform's own path string, so a regex written for `/` does not match on Windows and the portable form needs an alternation such as `regex:.*(/|\\)drafts(/|\\).*\.md`. apache/maven-site#1809 documents the workaround; elharo's review there asked for one syntax that works everywhere. Proposed: match `regex:` patterns against the path with `/` separators on every platform (for example `path.toString().replace(File.separatorChar, '/')` before `Pattern.matcher`, or a path relative to the site directory in that form), keep `glob:` as it is, and update the parameter documentation and the guide once it lands. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
