Garrick Aden-Buie
68fde36a12
Adjust style of RegEx tab
- Fixed min-height for inputs and controls
- Inputs, controls and outputs won't overlap
- Build out HTML instead of using fillCol()
- Modified textInputCode() to allow additional items into input-group for library button
- Use input-group instead of form-group for textInputCode()
7 lat temu
Garrick Aden-Buie
5b04489eb8
Rename internal function run_regex() -> regex()
7 lat temu
Garrick Aden-Buie
a9e3ad1192
Reorganize names of R/*.R
7 lat temu
Garrick Aden-Buie
bc1938fdd3
Update internal data after #16
7 lat temu
Garrick Aden-Buie
99b4cb6350
Edits and updates to satisfy devtools::check()
7 lat temu
Garrick Aden-Buie
ccdeb68074
Document options in package help text
7 lat temu
Garrick Aden-Buie
aea69c1f5c
Break out gadget UI/server components and rename regexplain_gadget()
Also adds regexplain_web()
7 lat temu
Garrick Aden-Buie
5e8522fcc3
Fix #14 Add pattern parameter to regex_gadget()
7 lat temu
Garrick Aden-Buie
f56ab7de40
Add "global" option to gadget
7 lat temu
Garrick Aden-Buie
8e65867222
Better handling of results groups
Track # of result groups in regex result data frame as idx$pass. Refactored span collating.
7 lat temu
Garrick Aden-Buie
4b8428c0bd
Enable global searching
7 lat temu
Garrick Aden-Buie
e196c5ba60
Regex matches now returned as a tibble
Global matching implemented inside run_regex(), nothing above initial regex matching works now.
7 lat temu
Garrick Aden-Buie
c1ace12496
run_regex detects globally (but no group matching)
7 lat temu
Garrick Aden-Buie
7b1714c789
dplyr::desc() instead of desc()
7 lat temu
Garrick Aden-Buie
da58cb3a83
Use htmltools for groups stylesheet dependency in view_regex()
7 lat temu
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 lat temu
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 lat temu
Garrick Aden-Buie
e91c7a6db9
Fix #8 use shiny::isTruthy on replacement in addin
8 lat temu
Garrick Aden-Buie
28a16e1a89
Fix update message command
8 lat temu
Garrick Aden-Buie
8c674d38a7
Clear placeholder when setting regex pattern from library
and restore when input$pattern is empty
8 lat temu
Garrick Aden-Buie
3083a5d3f2
Updates to selection processing in addin
- Use global option regexplain.addin.max_lines (default 100)
- Give hint on warning about option
- Always use unique lines in selection
8 lat temu
Garrick Aden-Buie
004fcb437b
Update documentation
8 lat temu
Garrick Aden-Buie
0d4673d72f
Fix non-ascii chars in regex_gadget.R
8 lat temu
Garrick Aden-Buie
cb8807526c
Allow source field in patterns to render HTML
8 lat temu
Garrick Aden-Buie
0cc66bea8e
Missed template -> library rename
8 lat temu
Garrick Aden-Buie
597f03f569
Rename templates -> library
8 lat temu
Garrick Aden-Buie
acfd2dc521
Add patterns from qdapRegex and document all patterns
8 lat temu
Garrick Aden-Buie
84ca893558
Drop empty templates, show source, allow HTML in description
8 lat temu
Garrick Aden-Buie
ce86076727
Fix missing backlash in Help: "\\w"
8 lat temu
Garrick Aden-Buie
bb7e815eb3
Enable gadget debug via options
regexplain.debug.gadget.(text|pattern|replacement)
8 lat temu
Garrick Aden-Buie
274d9cea12
Enable perl by default, output non-default options in comments
8 lat temu
Garrick Aden-Buie
a1833c2bc3
Resources: adds regexper.com and rick.measham.id.au/paste/explain
8 lat temu
Garrick Aden-Buie
3a2aa59718
Order template patterns by name
8 lat temu
Garrick Aden-Buie
49d6fec910
Add qdapRegex package to resources
8 lat temu
Garrick Aden-Buie
8860412d0d
Gadget is now RegExplain and clean up things
8 lat temu
Garrick Aden-Buie
bb7c80ae72
Add Regex Hub and RegExLib to online resources
8 lat temu
Garrick Aden-Buie
4d94c20b4d
Add Templates button to load common regex patterns
8 lat temu
Garrick Aden-Buie
64a47e0b52
RegEx tab was renamed
8 lat temu
Garrick Aden-Buie
8bc4bec7ee
Adjust selection of Harvard Sentences for color example
8 lat temu
Garrick Aden-Buie
00f3982700
Add Intro and Resources to Help tab
8 lat temu
Garrick Aden-Buie
09188b347d
Fix unicode unescaping for e.g. \\U0001F575
8 lat temu
Garrick Aden-Buie
56e8273ea7
Trigger input$help_default to load default text
and allow overriding default help text when loading server side help section
8 lat temu
Garrick Aden-Buie
94a1f1baf7
Add "Try These Examples" page to Help tab
8 lat temu
Garrick Aden-Buie
e102d1391d
Fix detection of octal characters in sanitize_text_input
and move octals to hex group (yeah, I know)
8 lat temu
Garrick Aden-Buie
aa37fe8a89
Move help section out of shiny module
Can't interact with global app elements from within a module
8 lat temu
Garrick Aden-Buie
4a60607136
Fix checking for unicode chars that need escaped
8 lat temu
Garrick Aden-Buie
349fde6f9c
Add rematch2 to Output tab options
8 lat temu
Garrick Aden-Buie
17a4b95012
Fix typo in `[\^\-]` help text
8 lat temu
Garrick Aden-Buie
398947a73c
Edit regex input placeholder and Regex -> RegEx
8 lat temu
Garrick Aden-Buie
3b3c123b95
Use purrr::possibly instead of try()
8 lat temu