Hello,
I’m trying to implement a RestructuredText parser as a stepping stone for an OCaML implementaition of Sphinx. I’ve got a problem with implementing the inline markup especially the strong markup (eg **my strongified text**
). I would like to match the strings that do not contain the ending pattern (ie "**" ( ' ' | '\n'| eof)
). I know I can do that by creating an equivalent regex but as I need to replicate that for other markup constructs it would become difficult to maintain.