regexTest: A Gadget for testing gsub regular expressions.

Description Usage Arguments Examples

Description

Supply a regex pattern, a string where matches are sought, and a replacement. This gadget allows regex testing. When the correct regex is found, clicking "Done" will return the current regex.

Usage

1
2
regexTest(pattern = "night",
  x = "We can turn day into night with this Gadget", replace = "day")

Arguments

pattern

The regular expression to match.

x

The character string where matches are sought.

replacement

The replacement text to substitute for the matching pattern.

Examples

1
regexTest(pattern = 'night', replace = "day", x = "We can turn day into night with this Gadget")

seandavi/BiocGadgets documentation built on May 29, 2019, 4:27 p.m.