michael-o commented on PR #132: URL: https://github.com/apache/maven-doxia/pull/132#issuecomment-1368019605
> @hboutemy This is a very good point. It's better to keep backward compatibility as long as it doesn't make our code too complex. > > In this case, we could use a simple replace regex to add the `---` markers when we detect the old-style header. Something like `^(?:(\s*[a-zA-Z0-9_\-]+\s*:.*\R)+)\R(.*)` ==> `---\n$1---\n$2` > > (ha ha, isn't the above regex charming? 🤦♂️) regex pr0n! -- 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-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org