You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2023/01/02 13:41:31 UTC

[GitHub] [maven-doxia] bertysentry commented on pull request #132: [DOXIA-617] support yaml metadata

bertysentry commented on PR #132:
URL: https://github.com/apache/maven-doxia/pull/132#issuecomment-1368957114

   Actually, the regexp should be: `^\v*((?:[a-zA-Z0-9_\-]+\h*:.*\R)+)\R`. It will match with the header if present.
   
   Using Java 8's [Matcher](https://docs.oracle.com/javase/8/docs/api/java/util/regex/Matcher.html) we should be able to implement that mechanism (adding `---` where necessary) could be done in a very efficient way.


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org