« first day (1359 days earlier)      last day (1937 days later) » 

7:23 AM
Good morning all
 
Hello @ all!
 
8:02 AM
hello hello :-)
 
for (name in channel.names) {
  message(sprintf("Hello %s"))
}
4
 
 
15 hours later…
11:23 PM
@Cath I was hoping this one would fetch "37". Any idea what I'm doing wrong?
> gsub("(\\d{1,})/.*$", "\\1", "Some text 1 37/8\n")
[1] "Some text 1 37"
 
I'm guessing (hoping) Cath is sleeping now. For starters you're missing a leading ".*?". Otherwise the front part of the text is not matched, and hence not subbed.
gsub(".*?(\\d{1,})/.*$", "\\1", "Some text 1 37/8\n")
@RomanLuštrik
 

« first day (1359 days earlier)      last day (1937 days later) »