Timeline for Product catalog
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2020 at 9:04 | history | edited | CommunityBot |
Commonmark migration
|
|
Nov 8, 2016 at 15:47 | comment | added | Billywob | @JDL Alright, that's very useful to know, thanks! | |
Nov 8, 2016 at 15:42 | comment | added | JDL |
They just mean "output whatever was captured in the first/second/third pair of () brackets.
|
|
Nov 8, 2016 at 15:38 | comment | added | Billywob |
@JDL Very clever but I have no idea how the "\\1 \\2 \\3" replacement works though. Also updated the regex pattern a bit and use ignore.case = TRUE .
|
|
Nov 8, 2016 at 15:37 | history | edited | Billywob | CC BY-SA 3.0 |
deleted 180 characters in body
|
Nov 8, 2016 at 15:31 | comment | added | JDL |
something like gsub("([A-Za-z]+)([0-9]+)(.+)","\\1 \\2 \\3",scan()) , though the first argument can probably be expressed as something smaller than that...
|
|
Nov 8, 2016 at 15:17 | comment | added | Billywob | @JDL Not sure I follow. Care to elaborate or give an example? | |
Nov 8, 2016 at 15:08 | comment | added | JDL |
Wouldn't gsub (...,"\\1 \\2 \\3") be more efficient?
|
|
Nov 8, 2016 at 12:21 | history | answered | Billywob | CC BY-SA 3.0 |