R/constructor.R
rx.Rd
Add this to the beginning of every verbal expression chain. This simply returns an empty character vector so that the next step in the chain can provide a value without explicitly writing value = "blah".
value = "blah"
rx()
rx()#> character(0) # this rx() %>% rx_find("cat") %>% rx_anything() %>% rx_find("dog")#> [1] "(cat)(.*)(dog)" # instead of rx_find(value = "cat") %>% rx_anything() %>% rx_find("dog")#> [1] "(cat)(.*)(dog)"