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
e8075379aa
Add test for global wrap_regex
пре 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
836bb8dea1
Remove empty test
пре 8 година
Garrick Aden-Buie
e8495f42dc
Add collection of text lines for testing
пре 8 година
Garrick Aden-Buie
09188b347d
Fix unicode unescaping for e.g. \\U0001F575
пре 8 година
Garrick Aden-Buie
324c49cb59
Refactor generation of help UI from cheatsheet dataframe
пре 8 година
Garrick Aden-Buie
e102d1391d
Fix detection of octal characters in sanitize_text_input
and move octals to hex group (yeah, I know)
пре 8 година
Garrick Aden-Buie
c816502ca2
Fix #3 wrap_regex differentiates capture/non-capture groups
пре 8 година
Garrick Aden-Buie
2187c6386a
Update regex_gadget and add Rstudio add-in
пре 8 година