Garrick Aden-Buie
d7a867d234
Move stringr to Suggests
Replaced a few calls to stringr with stringi (which has to stay for unicode encoding function). Not likely that people won't have stringr, but makes the dependencies a little better.
7 лет назад
Garrick Aden-Buie
133e585f76
Rename internal function run_regex() -> regex()
7 лет назад
Garrick Aden-Buie
8160808363
Reorganize names of R/*.R
7 лет назад
Garrick Aden-Buie
33625b6b15
Edits and updates to satisfy devtools::check()
7 лет назад
Garrick Aden-Buie
975e3ae4fa
Better handling of results groups
Track # of result groups in regex result data frame as idx$pass. Refactored span collating.
7 лет назад
Garrick Aden-Buie
67725f59bb
Enable global searching
7 лет назад
Garrick Aden-Buie
75348f5b06
Regex matches now returned as a tibble
Global matching implemented inside run_regex(), nothing above initial regex matching works now.
7 лет назад
Garrick Aden-Buie
a36fbbbfb7
run_regex detects globally (but no group matching)
7 лет назад
Garrick Aden-Buie
038ecb4f89
dplyr::desc() instead of desc()
7 лет назад
Garrick Aden-Buie
da58cb3a83
Use htmltools for groups stylesheet dependency in view_regex()
7 лет назад
Garrick Aden-Buie
8e9f185f75
Embed view_regex in html documents easily
- Removed knitr parameter
- Add result_only (not in knitr)
- Soft deprecate kntir parameter
- Separate group.css from other css styles
7 лет назад
Garrick Aden-Buie
a91ce1d983
Fix #9 wrap_result handles groups that start end at same index
Fixes issues with adding <span> and </span> around zero-length groups and more generally groups that start and end at the same index.
Ensures that g00 wraps all others, then at index with close/opens, closes open groups first before opening new groups.
8 лет назад
Garrick Aden-Buie
004fcb437b
Update documentation
8 лет назад
Garrick Aden-Buie
5334665150
Fix #7 remove autolink bare uris from view_regex()
8 лет назад
Garrick Aden-Buie
cf640fc45c
Tweak styles and headers in view_regex()
8 лет назад
Garrick Aden-Buie
c816502ca2
Fix #3 wrap_regex differentiates capture/non-capture groups
8 лет назад
Garrick Aden-Buie
bf6a7955e1
Move css files to inst/styles
8 лет назад
Garrick Aden-Buie
b6055e37ef
Add use of skeleton.css and fix sourcing of css files in view_regex()
8 лет назад
Garrick Aden-Buie
d2d617cb30
Fix #2 : unmatched groups have start index of 0
8 лет назад
Garrick Aden-Buie
27dcdaa9d6
Update docs (roxygen md), better title and description
8 лет назад
Garrick Aden-Buie
f302d40948
Fix #4 by removing dependency on bootstrap theme
8 лет назад
Garrick Aden-Buie
2780a0c73b
Clean up a bit for devtools::check()
8 лет назад
Garrick Aden-Buie
c06337a8b4
Add padding to results group when many groups
8 лет назад
Garrick Aden-Buie
88942fa2da
Add docs for run_regex and regex_gadget
8 лет назад
Garrick Aden-Buie
2187c6386a
Update regex_gadget and add Rstudio add-in
8 лет назад
Garrick Aden-Buie
0114e5e421
Add escape_blackslash()
8 лет назад
Garrick Aden-Buie
8a03f191d4
notes to self
8 лет назад
Garrick Aden-Buie
65faa5f601
Fix nested groups calculation and add example to Readme
8 лет назад
Garrick Aden-Buie
48c42da456
Rename to regexplain
- Colorize regex in view_regex
- Use exact=TRUE param to show all backslashes in wrap_regex
- Rename wrap_span -> wrap_result
8 лет назад
Garrick Aden-Buie
3b9646c9a2
Initial commit
8 лет назад