Timeline for Grep - how to output only the content of a capturing group
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 14, 2019 at 15:35 | history | edited | karakfa | CC BY-SA 4.0 |
added 197 characters in body
|
Oct 14, 2019 at 15:34 | comment | added | karakfa |
looking back is easier than looking ahead, most likely that's why there is a \K but not one for lookahead. Not really for practical use...
|
|
Oct 14, 2019 at 15:26 | history | edited | karakfa | CC BY-SA 4.0 |
remove parans
|
Oct 14, 2019 at 15:15 | comment | added | Alice | @Amessihel This doesn't really meet my requirement, sure, but I do find that this is a really funny solution | |
Oct 14, 2019 at 15:08 | comment | added | Amessihel | What's the benefit of this solution since OP asked of a simple way to return a captured group? | |
Oct 14, 2019 at 15:01 | history | answered | karakfa | CC BY-SA 4.0 |