« first day (2021 days earlier)      last day (1278 days later) » 

8:43 AM
hello
25 messages moved to Trash can
 
 
2 hours later…
10:18 AM
Can someone explain why this returns 1? I would expect this to fail.

```
> grep("01_r*", x = "01_blalb")
[1] 1
```
Hum, maybe this is the key:

> The preceding item will be matched _zero_ or more times.
(this is in reference to the * quantified)
 
@RomanLuštrik Did you intent "01_r+"?
or grep(glob2rx("01_r*"), x = "01_blalb")?
 
What I'm trying to do is deconstruct some (foreign) code and understand why something isn't working. Using r* seems odd to me.
 
It's probably intended as a globbing pattern.
 
 
3 hours later…
1:49 PM
This kind of codes are just sad:
`dates <- names(raw.data.confirmed)[5:n.col] %>% substr(2,8) %>% mdy()`
 
2:29 PM
@zx8754 one man website.. rdatamining.com/about
 

« first day (2021 days earlier)      last day (1278 days later) »