i write program that parse text with regular expression. Regular expression should be obtained from user. I deside to use glob syntax for user input, and convert glob string
In R, there's the glob2rx function included in the base distribution:
glob2rx
http://stat.ethz.ch/R-manual/R-devel/library/utils/html/glob2rx.html