Last active
June 9, 2020 14:56
-
-
Save cbeleites/cc1c964bc5416ca285acf24f1d4e30ef to your computer and use it in GitHub Desktop.
Regexps to help with
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# \code{link[package]{f}} -> [package::f()] | |
\\code{\\link\[([^]]*)\]\{([^}]*)\}\} | |
[\1::\2()] | |
#\code{link{f}} -> [f()] untested | |
\\code{\\link\{([^}]*)\}\} | |
[\1()] | |
# \code{} -> `` | |
\\code{([^}]*)\} | |
`\1` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment