qinwf / re2r

RE2 Regular Expression in R.

Home Page:https://qinwenfeng.com/re2r_doc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: argument order

gagolews opened this issue · comments

For example: re2_match(pattern, string)

for some the reverse arg order is more natural (string, pattern) (see e.g., stringr functions)

(string, pattern) works better with magrittr's pipe operator to

string %>% re2_match(pattern)

what do you think?

commented

Changes are landed.