Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(?:\w+::\w+(?:\(\))?|\p{L}+(?:[-'_$]\p{L}+)*)(*SKIP)(*F)|[^\p{L}\s]
/
gm
Input 1
1
New
# Re-loading pkgdown while it's running causes weird behaviour with # the context cache don't # Needs to handle NA for desc::desc_get() # Update href of toc anchors , use "-" instead "." # Keep something$col or here_you::must_stay
Substitution
# Re-loading pkgdown while it's running causes weird behaviour with # the context cache don't # Needs to handle NA for desc::desc_get() # Update href of toc anchors , use "-" instead "." # Keep something$col or here_you::must_stay