Pattern matching using a wildcard

前端 未结 5 698
野的像风
野的像风 2020-12-01 00:15

How do I identify a string using a wildcard?

I\'ve found glob2rx, but I don\'t quite understand how to use it. I tried using the following code to pick

5条回答
  •  青春惊慌失措
    2020-12-01 00:59

    You're on the right track - the keyword you should be googling is Regular Expressions. R does support them in a more direct way than this using grep() and a few other alternatives.

    Here's a detailed discussion: http://www.regular-expressions.info/rlanguage.html

提交回复
热议问题