🔍 An RStudio addin slash regex utility belt
Fix issues with coloring of groups in regexplain gadget when matched groups start and end at the same index, especially when there are zero-length groups (thanks, @HanOostdijk).
Reduce package size by optimizing images and offloading the screencast gifs to
the assets
branch.
Use of knitr
is automatically detected when calling view_regex()
inside
an R Markdown document. The knitr
parameter of view_regex()
has been
removed. Added result_only
parameter for interactive viewing. As a side
effect, the group coloring CSS is automatically embedded in the HTML output.
inst/extdata/patterns.json
.perl
mode by default in gadget (consistent with stringr
and most regexes in the wild, but not base R). Write out selected options as comments when not consistent with base R when returning pattern from gadget.regexplain.addin.max_lines
and options for debugging gadget inputs.Version 0.1.5