| flex = c(1, 3), | flex = c(1, 3), | ||||
| fillCol( | fillCol( | ||||
| flex = c(1, 1), | flex = c(1, 1), | ||||
| textInputCode('pattern', 'Regex', width = "90%", | |||||
| textInputCode('pattern', 'Regex', width = "100%", | |||||
| placeholder = "Enter regex, single \\ okay"), | placeholder = "Enter regex, single \\ okay"), | ||||
| checkboxGroupInput( | checkboxGroupInput( | ||||
| 'regex_options', | 'regex_options', | ||||
| ), | ), | ||||
| tags$div( | tags$div( | ||||
| class = "gadget-result", | class = "gadget-result", | ||||
| style = "overflow-y: scroll; height: 100%;", | |||||
| htmlOutput('result') | htmlOutput('result') | ||||
| ) | ) | ||||
| ) | ) | ||||
| selectInput('regexFn', label = 'Apply Function', | selectInput('regexFn', label = 'Apply Function', | ||||
| choices = regexFn_choices) | choices = regexFn_choices) | ||||
| ), | ), | ||||
| verbatimTextOutput('output_result', | |||||
| placeholder = TRUE) | |||||
| # verbatimTextOutput('output_result', placeholder = TRUE) | |||||
| tags$pre( | |||||
| id = "output_result", | |||||
| class = "shiny-text-output", | |||||
| style = "overflow-y: scroll; height: 100%;" | |||||
| ) | |||||
| ) | ) | ||||
| ) | ) | ||||
| ), | ), |